[commit: ghc] master: Only add -fshow-warning-groups for ghc >= 7.11 (#10752) (f8a5dd0)

git at git.haskell.org git at git.haskell.org
Mon Feb 29 14:48:55 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f8a5dd05ed50fe46eb86f30dc12f4c341b980e61/ghc

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

commit f8a5dd05ed50fe46eb86f30dc12f4c341b980e61
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Mon Feb 29 13:49:05 2016 +0100

    Only add -fshow-warning-groups for ghc >= 7.11 (#10752)


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

f8a5dd05ed50fe46eb86f30dc12f4c341b980e61
 testsuite/mk/test.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 97ceb39..6d9a4c2 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -34,7 +34,7 @@ endif
 
 # TEST_HC_OPTS is passed to every invocation of TEST_HC 
 # in nested Makefiles
-TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -fshow-warning-groups -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)
+TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)
 
 # The warning suppression flag below is a temporary kludge. While working with
 # tests that contain tabs, please de-tab them so this flag can be eventually
@@ -48,6 +48,7 @@ ifeq "$(MinGhcVersion711)" "YES"
 # Don't warn about missing specialisations. They can only occur with `-O`, but
 # we want tests to produce the same output for all test ways.
 TEST_HC_OPTS += -fno-warn-missed-specialisations
+TEST_HC_OPTS += -fshow-warning-groups 
 endif
 
 RUNTEST_OPTS =



More information about the ghc-commits mailing list