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

Ross Paterson ross at soi.city.ac.uk
Tue Jan 11 11:03:41 EST 2005


On Tue, Jan 11, 2005 at 03:22:56PM -0000, Simon Marlow wrote:
> On 11 January 2005 15:04, Ross Paterson wrote:
> > GHC barfs on OPTIONS_COMPILE:
> > 
> > 	Distribution/Compat/Error.hs:
> > 	    unknown flags in  {-# OPTIONS #-} pragma: _COMPILE -prelude
> 
> 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?

Doesn't GHC ignore #-lines while looking for these pragmas?


More information about the Cvs-libraries mailing list