From 156e58954387c143c4452108d6f3e338917bb64f Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 30 Apr 2001 12:03:45 +0000 Subject: [PATCH] [project @ 2001-04-30 12:03:45 by simonmar] The convention for warnings currently is: standard warnings indicate "probable bugs", whereas -W warnings indicate "style problems". I think -fwarn-misc is more suited to -W. --- ghc/compiler/main/CmdLineOpts.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index b0627c2..281571e 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -383,7 +383,6 @@ standardWarnings Opt_WarnMissingFields, Opt_WarnMissingMethods, Opt_WarnDuplicateExports, - Opt_WarnMisc ] minusWOpts @@ -391,7 +390,8 @@ minusWOpts [ Opt_WarnUnusedBinds, Opt_WarnUnusedMatches, Opt_WarnUnusedImports, - Opt_WarnIncompletePatterns + Opt_WarnIncompletePatterns, + Opt_WarnMisc ] minusWallOpts -- 1.7.10.4