haddock suggestion -- %{FILE}

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Jan 9 12:43:22 EST 2007

"Conal Elliott" <conal at conal.net> wrote:

> Fiddling with flags, I see that -optP-P is the culprit.  Removing it:
> bash-3.2$ ghc -E -cpp -o z src/Graphics/UI/TV/Input.hs
> -Dmingw32_BUILD_OS -Dmingw32_HOST_OS -Di386_BUILD_ARCH
> -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=606 -D__HADDOCK__; head -3 z
> # 1 "src/Graphics/UI/TV/Input.hs"
> # 1 "<built-in>"
> # 1 "<command line>"

This may not answer your question, but assuming you want to get rid of
the last two lines, keeping only the first, have you tried using the
options -pgmPcpphs -optP-cpp (with a recent version of cpphs)?


More information about the Libraries mailing list