[commit: ghc] master: Suppress deprecation warnings for Rank2Types in libraries that use the flag (d277031)

Simon Peyton Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d277031df8afa64118a1d063e6e09c80028226fe

>---------------------------------------------------------------

commit d277031df8afa64118a1d063e6e09c80028226fe
Author: Simon Peyton Jones <[email protected]>
Date:   Fri Oct 19 20:24:31 2012 +0100

    Suppress deprecation warnings for Rank2Types in libraries that use the flag
    
    This is temporary until the libraries switch to RankNTypes

>---------------------------------------------------------------

 mk/validate-settings.mk |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index 4baf02a..9eeb488 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -84,6 +84,16 @@ libraries/containers_dist-install_EXTRA_HC_OPTS += -fno-warn-deprecations
 
 # Temporarily turn off unused-do-bind warnings for the time package
 libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-do-bind 
+
+
+# Rank2Types is deprecated, so switch off deprecation warnings
+libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-deprecations
+libraries/containers_dist-install_EXTRA_HC_OPTS += -fno-warn-deprecations
+libraries/dph/dph-lifted-copy_dist-install_EXTRA_HC_OPTS += -fno-warn-deprecations
+# vector already has -Wwarn
+# Cabal already has -Wwarn
+
+
 # Temporary: mkTyCon is deprecated
 libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-deprecations
 # On Windows, there are also some unused import warnings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.