build errors

Luke Iannini lukexipd at gmail.com
Thu Nov 28 10:44:40 UTC 2013


Hi guys,

This is more clang CPP funniness — I've patched this kind of thing before
(e.g.
https://ghc.haskell.org/trac/ghc/attachment/ticket/8445/fix-xcode5-cpp-errors.patch).
Basically clang CPP can't handle the space before the open-paren, so it
needs to be removed to be recognized and processed as a macro.

Cheers
Luke


On Thu, Nov 28, 2013 at 1:23 AM, Joachim Breitner
<mail at joachim-breitner.de>wrote:

> Hi,
>
> Am Donnerstag, den 28.11.2013, 12:43 +0900 schrieb Kazu Yamamoto:
> > I cannot build GHC head on Linux and Mac (Mavericks) today:
> >
> > compiler/typecheck/TcEvidence.lhs:152:16:
> >     Not in scope: data constructor `ASSERT2'
> >
> > compiler/typecheck/TcEvidence.lhs:174:5:
> >     Not in scope: data constructor `ASSERT2'
> >
> > compiler/typecheck/TcEvidence.lhs:489:15:
> >     Not in scope: data constructor `ASSERT2'
> >
> > compiler/typecheck/TcEvidence.lhs:712:5:
> >     Not in scope: data constructor `ASSERT2'
> > make[1]: *** [compiler/stage1/build/TcEvidence.o] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > make: *** [all] Error 2
>
> these were added by me, but these are CPP macros that should be always
> defined (in HsVersions.h). Also, the problem is not a general one, as
> you can see on https://travis-ci.org/nomeata/ghc-complete/builds)
>
> Do you have any idea what might be unusual about your CPP setup?
>
> Greetings,
> Joachim
>
>
> --
> Joachim “nomeata” Breitner
>   mail at joachim-breitner.dehttp://www.joachim-breitner.de/
>   Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
>   Debian Developer: nomeata at debian.org
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131128/6c01c4a8/attachment.html>


More information about the ghc-devs mailing list