From 71c15e1e09241b94b7532165ee185e1c652e7fe0 Mon Sep 17 00:00:00 2001 From: sof <unknown> Date: Mon, 24 Nov 1997 21:35:17 +0000 Subject: [PATCH] [project @ 1997-11-24 21:35:17 by sof] Add -fwarn-duplicate-exports to default warning set --- ghc/driver/ghc.lprl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 913a9a3ee150..a79525f4b07a 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -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'); -- GitLab