Announce: Yi 0.5.0.1

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Oct 9 11:38:30 EDT 2008


On Thu, 2008-10-09 at 11:45 +0200, Christian Maeder wrote:
> Christian Maeder wrote:
> > Jean-Philippe Bernardy wrote:
> >> There might be an issue with pre-processing, but that's beyond my
> >> cabal knowledge.
> >>
> >> Maybe some cc'ed wizards can help :)
> > 
> > Somehow -DUNIX_IMPL is not respected in System/PosixCompat/Files.hsc
> 
> > Using cpphs version 1.1 found on system at: /home/linux-bkb/bin/cpphs
> 
> After removing cpphs it worked!

Hrm, that's very odd. Cabal does not use cpphs by default with ghc.

ppCpp' extraArgs bi lbi =
  case compilerFlavor (compiler lbi) of
    GHC -> ppGhcCpp (cppArgs ++ extraArgs) bi lbi
    _   -> ppCpphs  (cppArgs ++ extraArgs) bi lbi

Can you please file a ticket with all the details to reproduce so we do
not forget. I'd try and reproduce it myself now but I'm, trying to build
all of hackage three ways so I don't want to mess up my configuration.

Duncan



More information about the cabal-devel mailing list