From: simonmar Date: Mon, 29 Sep 2003 11:03:29 +0000 (+0000) Subject: [project @ 2003-09-29 11:03:29 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~402 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9d0e52d16e17b884abfb4f5b765b20981a5c79c2;p=ghc-hetmet.git [project @ 2003-09-29 11:03:29 by simonmar] oops, we need to include -fignore-interface-pragmas and -fomit-interface-pragmas in the default set of options. --- diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index caae4cb..153c058 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -384,11 +384,16 @@ defaultDynFlags = DynFlags { -- applies to -O. Opt_CSE, -- similarly for CSE. - Opt_DoLambdaEtaExpansion + Opt_DoLambdaEtaExpansion, -- This one is important for a tiresome reason: -- we want to make sure that the bindings for data -- constructors are eta-expanded. This is probably -- a good thing anyway, but it seems fragile. + + -- and the default no-optimisation options: + Opt_IgnoreInterfacePragmas, + Opt_OmitInterfacePragmas + ] ++ standardWarnings, }