Re: The haddock / clang problem revisited ... root cause found...

2014-07-23 Thread Johan Tibell
A patched bindist sounds like a good idea. I've just uploaded Cabal-1.18.1.4 so you should be good to go. ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

The haddock / clang problem revisited ... root cause found...

2014-07-20 Thread Mark Lentczner
tl;dr: - cabal is the culprit - If you have the `Extensions: CPP` directive in your .cabal file, then when invoking haddock, cabal causes every file to be pre-processed twice in sequence. - pre-processing isn't idempotent - when done under clang, it outputs things that ghc.