[Haskell-cafe] questions about ghc-clang-wrapper

Brandon Allbery allbery.b at gmail.com
Sun Mar 2 00:44:18 UTC 2014


On Sat, Mar 1, 2014 at 7:35 PM, Richard Cobbe <cobbe at ccs.neu.edu> wrote:

> Question 1: How do I know this worked?  I tested it by modifying a package
> that I'm writing so that it requires CPP to build correctly, and
> successfully built it with "cabal clean; cabal configure; cabal build".
> (More details available on request.)  Does that mean I'm in good shape?
>

If you didn't get a compile failure after a bunch of syntax errors reported
by cpp, you're good. (The problem is that clang's cpp is more pedantic
about C syntax than gcc's, and doesn't appreciate being run on Haskell
source. The patch adds options to disable the pedanticism.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140301/e3855389/attachment.html>


More information about the Haskell-Cafe mailing list