[project @ 1997-11-24 21:35:17 by sof]
authorsof <unknown>
Mon, 24 Nov 1997 21:35:17 +0000 (21:35 +0000)
committersof <unknown>
Mon, 24 Nov 1997 21:35:17 +0000 (21:35 +0000)
Add -fwarn-duplicate-exports to default warning set

ghc/driver/ghc.lprl

index 913a9a3..a79525f 100644 (file)
@@ -272,12 +272,14 @@ warnings that you get all the time are
        
        -fwarn-overlapping-patterns
        -fwarn-missing-methods
+       -fwarn-duplicate-exports
 
 these are turned off by -Wnot.
 
 \begin{code}
 @StandardWarnings = ('-fwarn-overlapping-patterns', 
-                    '-fwarn-missing-methods');
+                    '-fwarn-missing-methods',
+                    '-fwarn-duplicate-exports');
 @MinusWOpts              = (@StandardWarnings, 
                     '-fwarn-incomplete-patterns', 
                     '-fwarn-unused-names');