summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Conc.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-16 13:32:32 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-16 14:45:00 +0100
commit437ebdda48e7a32fe1bea49cb503f456a0152a36 (patch)
tree0cf901e8b74b7644d6db8833070917efc5960565 /libraries/base/GHC/Conc.hs
parent2206fa8cdb1209320f3690690b610320b4810de6 (diff)
downloadhaskell-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/GHC/Conc.hs')
-rw-r--r--libraries/base/GHC/Conc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Conc.hs b/libraries/base/GHC/Conc.hs
index 68182a11e4..38fac431b0 100644
--- a/libraries/base/GHC/Conc.hs
+++ b/libraries/base/GHC/Conc.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE Unsafe #-}
{-# LANGUAGE CPP, NoImplicitPrelude #-}
-{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
+{-# OPTIONS_GHC -Wno-missing-signatures #-}
{-# OPTIONS_HADDOCK not-home #-}
-----------------------------------------------------------------------------