From d014467a9b416202c449371feb2f8cd5413835d0 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 22 May 2000 13:31:33 +0000 Subject: [PATCH] [project @ 2000-05-22 13:31:33 by simonmar] Add -fwarn-hi-shadowing to the default set of warnings. --- ghc/driver/ghc.lprl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 40e9707..5b3c751 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -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', -- 1.7.10.4