From: Ian Lynagh Date: Sat, 22 Mar 2008 13:36:22 +0000 (+0000) Subject: List extensions used rather than using the -fglasgow-exts hammer X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=12c6837ca86f944694e95e931b3c3576768f9e93;p=ghc-base.git List extensions used rather than using the -fglasgow-exts hammer --- diff --git a/base.cabal b/base.cabal index 9792d80..335ab39 100644 --- a/base.cabal +++ b/base.cabal @@ -65,6 +65,12 @@ Library { GHC.Weak, GHC.Word, System.Timeout + extensions: MagicHash, ExistentialQuantification, Rank2Types, + ScopedTypeVariables, UnboxedTuples, + ForeignFunctionInterface, UnliftedFFITypes, + DeriveDataTypeable, GeneralizedNewtypeDeriving, + FlexibleInstances, PatternSignatures, StandaloneDeriving, + PatternGuards } exposed-modules: Control.Applicative, @@ -166,10 +172,9 @@ Library { if os(windows) { extra-libraries: wsock32, msvcrt, kernel32, user32, shell32 } - extensions: CPP - -- XXX is there an extension for using # in varids? + extensions: CPP -- We need to set the package name to base (without a version number) -- as it's magic. - ghc-options: -fglasgow-exts -package-name base + ghc-options: -package-name base nhc98-options: -H4M -K3M }