Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Enable -Werror in CI #645

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion containers/containers.cabal
Expand Up @@ -34,7 +34,7 @@ source-repository head
Library
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
hs-source-dirs: src
ghc-options: -O2 -Wall
ghc-options: -O2 -Wall -Werror

other-extensions: CPP, BangPatterns

Expand Down
2 changes: 2 additions & 0 deletions containers/src/Utils/Containers/Internal/BitUtil.hs
Expand Up @@ -38,7 +38,9 @@ module Utils.Containers.Internal.BitUtil
, wordSize
) where

#if !MIN_VERSION_base(4,8,0)
import Data.Bits ((.|.), xor)
#endif
import Data.Bits (popCount, unsafeShiftL, unsafeShiftR
#if MIN_VERSION_base(4,8,0)
, countLeadingZeros
Expand Down