Announce: Yi

Duncan Coutts duncan.coutts at
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.


More information about the cabal-devel mailing list