From: simonm Date: Thu, 16 Oct 1997 13:30:24 +0000 (+0000) Subject: [project @ 1997-10-16 13:30:24 by simonm] X-Git-Tag: Approx_2487_patches~1369 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3bbc23e5d55a82e646c61e708b74c15b8f9eefa5;p=ghc-hetmet.git [project @ 1997-10-16 13:30:24 by simonm] add opt_WarnMissingMethods. --- diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index a2e616c..fe7a1c6 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -97,6 +97,7 @@ module CmdLineOpts ( opt_WarnNameShadowing, opt_WarnUnusedNames, opt_WarnIncompletePatterns, opt_WarnOverlappedPatterns, + opt_WarnMissingMethods, opt_PruneTyDecls, opt_PruneInstDecls, opt_D_show_unused_imports, opt_D_show_rn_stats, @@ -351,6 +352,7 @@ opt_WarnNameShadowing = lookUp SLIT("-fwarn-name-shadowing") opt_WarnIncompletePatterns = lookUp SLIT("-fwarn-incomplete-patterns") opt_WarnOverlappedPatterns = lookUp SLIT("-fwarn-overlapped-patterns") opt_WarnUnusedNames = lookUp SLIT("-fwarn-unused-names") +opt_WarnMissingMethods = lookUp SLIT("-fwarn-missing-methods") opt_PruneTyDecls = not (lookUp SLIT("-fno-prune-tydecls")) opt_PruneInstDecls = not (lookUp SLIT("-fno-prune-instdecls")) opt_D_show_unused_imports = lookUp SLIT("-dshow-unused-imports")