haddock suggestion -- %{FILE}
Conal Elliott
conal at conal.net
Tue Jan 9 13:51:46 EST 2007
I don't know what -optP-P or these other flags are. Do you know where
they're documented? In any case, the context here is that cabal is
controlling the preprocessing. So whatever the solution is, I'd like it to
come from or through cabal.
Cheers, - Conal
On 1/9/07, Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> wrote:
>
> "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)?
>
> Regards,
> Malcolm
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20070109/7c894eed/attachment.htm
More information about the Libraries
mailing list