Made some more notes in the Makefile regarding compiler flags

This commit is contained in:
Neil Brown 2009-01-13 15:22:35 +00:00
parent 501778bc65
commit a6c4f3ba93
2 changed files with 4 additions and 2 deletions

View File

@ -30,13 +30,16 @@ if GHC68
# which I believe is related to the use of unsafeCoerce#. So if anyone # which I believe is related to the use of unsafeCoerce#. So if anyone
# else tries to do this in future, make sure to test on GHC 6.8.2 (which # else tries to do this in future, make sure to test on GHC 6.8.2 (which
# is currently the latest version on Ubuntu and Gentoo) # is currently the latest version on Ubuntu and Gentoo)
#
# Addendum: I tried again once unsafeCoerce# was removed, but now it seems
# that -Werror is being secretly activated, which is possibly due to
# the GHC bug we had trouble with before (only fixed in 6.10 I think).
#GHC_OPTS += -XDeriveDataTypeable #GHC_OPTS += -XDeriveDataTypeable
#GHC_OPTS += -XExistentialQuantification #GHC_OPTS += -XExistentialQuantification
#GHC_OPTS += -XFlexibleContexts #GHC_OPTS += -XFlexibleContexts
#GHC_OPTS += -XFlexibleInstances #GHC_OPTS += -XFlexibleInstances
#GHC_OPTS += -XFunctionalDependencies #GHC_OPTS += -XFunctionalDependencies
#GHC_OPTS += -XMagicHash
#GHC_OPTS += -XMultiParamTypeClasses #GHC_OPTS += -XMultiParamTypeClasses
#GHC_OPTS += -XRank2Types #GHC_OPTS += -XRank2Types
#GHC_OPTS += -XScopedTypeVariables #GHC_OPTS += -XScopedTypeVariables

View File

@ -33,7 +33,6 @@ import qualified Data.Map as Map
import Data.Maybe import Data.Maybe
import Data.Monoid import Data.Monoid
import qualified Data.Set as Set import qualified Data.Set as Set
import GHC.Base (unsafeCoerce#)
import qualified AST as A import qualified AST as A
import CompState import CompState