[project @ 2000-05-22 13:31:33 by simonmar]
authorsimonmar <unknown>
Mon, 22 May 2000 13:31:33 +0000 (13:31 +0000)
committersimonmar <unknown>
Mon, 22 May 2000 13:31:33 +0000 (13:31 +0000)
Add -fwarn-hi-shadowing to the default set of warnings.

ghc/driver/ghc.lprl

index 40e9707..5b3c751 100644 (file)
@@ -284,6 +284,7 @@ warnings that you get all the time are
        -fwarn-missing-fields
        -fwarn-deprecations
        -fwarn-duplicate-exports
+       -fwarn-hi-shadowing
 
 these are turned off by -Wnot.
 
@@ -292,6 +293,7 @@ these are turned off by -Wnot.
                     '-fwarn-missing-methods',
                     '-fwarn-missing-fields',
                     '-fwarn-deprecations',
+                    '-fwarn-hi-shadowing',
                     '-fwarn-duplicate-exports');
 @MinusWOpts              = (@StandardWarnings, 
                     '-fwarn-unused-binds',