cvs commit: fptools/libraries/Cabal Makefile
fptools/libraries/Cabal/Distribution Extension.hs
PackageDescription.hs Setup.hs Simple.hs Version.hs
fptools/libraries/Cabal/Distribution/Compat Directory.hs
Error.hs Exception.hs FilePath.hs RawSystem.hs
Simon Marlow
simonmar at microsoft.com
Thu Jan 6 06:08:43 EST 2005
On 06 January 2005 08:27, Isaac Jones wrote:
> ijones 2005/01/06 00:26:58 PST
>
> Modified files:
> libraries/Cabal Makefile
> libraries/Cabal/Distribution Extension.hs
> PackageDescription.hs Setup.hs
> Simple.hs Version.hs
> libraries/Cabal/Distribution/Compat Directory.hs Error.hs
> Exception.hs FilePath.hs
> RawSystem.hs ReadP.hs
> libraries/Cabal/Distribution/Simple Build.hs Configure.hs
> Install.hs Register.hs
> SrcDist.hs Utils.hs
> Log:
> Removed OPTIONS -cpp pragmas and replaced with -cpp in makefile.
>
> This is to facilitate bootstrapping cabal in Hugs, though there are
> still some problems, for instance:
>
> #if !__GLASGOW_HASKELL__ || __GLASGOW_HASKELL__ >= 603
> import Data.Version ( Version(..), showVersion, parseVersion )
> #endif
>
> This doesn't do the right thing in Hugs preprocessing; it can't find
> Data.version.
I guess it should be something like
#if __HUGS__ >= XXX || __GLAGSGOW_HASKELL__ >= 603
since a recent Hugs will have Data.Version. Does __HUGS__ have a
version value?
Cheers,
Simon
More information about the Cvs-libraries
mailing list