cvs commit: fptools/libraries/Cabal/DistributionInstalledPackageInfo.hs Package.hs PackageDescription.hsPreProcess.hs Version.hsfptools/libraries/Cabal/Distribution/Compat Error.hsException.hs fptools/libraries/Cabal/Distribution/SimpleBuild.hs GHCPac

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Jan 11 11:06:22 EST 2005


"Simon Marlow" <simonmar at microsoft.com> writes:

> > GHC barfs on OPTIONS_COMPILE:
> 
> That's a bug.  I've fixed it in CVS, but unfortunately it means that
> these Cabal sources won't compile with older GHC's.  Does it work to
> surround the pragma with an #ifdef?

An #ifdef will not harm its visibility to nhc98, but I don't know
whether it will hide the pragma from ghc - you would be better able
to answer that.

Regards,
    Malcolm


More information about the Cvs-libraries mailing list