From: simonmar Date: Mon, 30 Apr 2001 12:03:45 +0000 (+0000) Subject: [project @ 2001-04-30 12:03:45 by simonmar] X-Git-Tag: Approximately_9120_patches~2058 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=156e58954387c143c4452108d6f3e338917bb64f;p=ghc-hetmet.git [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. --- 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