Skip to content

Commit

Permalink
Give up on -Werror for tests
Browse files Browse the repository at this point in the history
Cabal doesn't seem to concatenate them to the options in cxx-opts
  • Loading branch information
roberth committed Nov 26, 2020
1 parent f90c943 commit 493a2f9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions inline-c-cpp/inline-c-cpp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ test-suite tests
, template-haskell
, vector
default-language: Haskell2010
cxx-options: -Werror

if impl(ghc >= 8.10)
ghc-options:
-optcxx-Werror
else
ghc-options:
-optc-Werror

if os(darwin)
ld-options: -Wl,-keep_dwarf_unwind

0 comments on commit 493a2f9

Please sign in to comment.