diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-16 13:32:32 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-16 14:45:00 +0100 |
commit | 437ebdda48e7a32fe1bea49cb503f456a0152a36 (patch) | |
tree | 0cf901e8b74b7644d6db8833070917efc5960565 /libraries/base/Text | |
parent | 2206fa8cdb1209320f3690690b610320b4810de6 (diff) | |
download | haskell-437ebdda48e7a32fe1bea49cb503f456a0152a36.tar.gz |
Start using `-W` instead of `-f(no-)warn` in some places
This replaces some occurences of `-f(no-)warn` with the new `-W`-aliases
introduced via 2206fa8cdb120932 / #11218, in cases which are guaranteed
to be invoked with recent enough GHC (i.e. the stage1+ GHC).
After this commit, mostly the compiler and the testsuite remain using
`-f(wo-)warn...` because the compiler needs to be bootstrappable with
older GHCs, while for the testsuite it's convenient to be able to quickly
compare the behavior to older GHCs (which may not support the new flags yet).
The compiler-part can be updated to use the new flags once GHC 8.3 development
starts.
Reviewed By: quchen
Differential Revision: https://phabricator.haskell.org/D1637
Diffstat (limited to 'libraries/base/Text')
-rw-r--r-- | libraries/base/Text/Show/Functions.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Text/Show/Functions.hs b/libraries/base/Text/Show/Functions.hs index 690b203ea3..5230a4b4ca 100644 --- a/libraries/base/Text/Show/Functions.hs +++ b/libraries/base/Text/Show/Functions.hs @@ -1,6 +1,6 @@ {-# LANGUAGE Safe #-} -- This module deliberately declares orphan instances: -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} ----------------------------------------------------------------------------- -- | |