Finalise warnings-related arguments (#448)
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Mon, 6 Nov 2017 01:28:34 +0000 (01:28 +0000)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2017 01:28:34 +0000 (01:28 +0000)
commit438dc576e7b84c473a09d1d7ec7798a30303bc4e
treeca118c1b14bc4429e827e0caf925dbc3ab77d1cd
parent4fd94c3fc74e2b48d0ba4b8a1ddd6a42bc421c11
Finalise warnings-related arguments (#448)

* Fix non-exhaustive pattern match warning

* Move warnings-related settings to a separate module

* Move defaultHsWarningsArgs to Settings.Warnings, add -Wcpp-undef

* Use defaultGhcWarningsArgs in Settings.Builders.Ghc. Add -Wnoncanonical-monad-instances.

* Add warnings for ghc-cabal

* Add RTS warning flags

* Fix build with integer-simple library

* There are no tabs in xhtml
13 files changed:
cfg/system.config.in
hadrian.cabal
src/Oracles/Flag.hs
src/Rules/Compile.hs
src/Rules/Generate.hs
src/Settings.hs
src/Settings/Builders/Cc.hs
src/Settings/Builders/Ghc.hs
src/Settings/Default.hs
src/Settings/Packages/Base.hs
src/Settings/Packages/GhcCabal.hs
src/Settings/Packages/Rts.hs
src/Settings/Warnings.hs [new file with mode: 0644]