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

Simon Marlow simonmar at microsoft.com
Tue Jan 11 10:22:56 EST 2005


On 11 January 2005 15:04, Ross Paterson wrote:

> On Tue, Jan 11, 2005 at 06:40:53AM -0800, Malcolm Wallace wrote:
>> malcolm     2005/01/11 06:40:53 PST
>> 
>>   Modified files:
>>     libraries/Cabal/Distribution InstalledPackageInfo.hs
>>                                  Package.hs PackageDescription.hs
>>                                  PreProcess.hs Version.hs
>>     libraries/Cabal/Distribution/Compat Error.hs Exception.hs
>>     libraries/Cabal/Distribution/Simple Build.hs
>>                                         GHCPackageConfig.hs
>>                                         Install.hs SrcDist.hs
>>                                         Utils.hs
> 
> 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?

Cheers,
	Simon


More information about the Cvs-libraries mailing list