Skip to content

Commit

Permalink
Using GHC warning flags that are supported by GHC 7.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Nov 12, 2017
1 parent ff4d659 commit 310f8b2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions amazonka/amazonka.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ library

ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates
-funbox-strict-fields

exposed-modules:
Expand Down
4 changes: 2 additions & 2 deletions core/amazonka-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ library

ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates
-funbox-strict-fields

exposed-modules:
Expand Down
4 changes: 2 additions & 2 deletions examples/amazonka-examples.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ library

ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates

exposed-modules:
Example.APIGateway
Expand Down
4 changes: 2 additions & 2 deletions gen/amazonka-gen.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ executable amazonka-gen
ghc-options:
-threaded
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates

build-depends:
aeson >= 1.2
Expand Down
4 changes: 2 additions & 2 deletions gen/template/cabal.ede
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ library

ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updatesw
-funbox-strict-fields

exposed-modules:
Expand Down
4 changes: 2 additions & 2 deletions test/amazonka-test.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ library

ghc-options:
-Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates

exposed-modules:
Test.AWS.Assert
Expand Down

0 comments on commit 310f8b2

Please sign in to comment.