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
<m...@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
>   m...@joachim-breitner.de • http://www.joachim-breitner.de/
>   Jabber: nome...@joachim-breitner.de  • GPG-Key: 0x4743206C
>   Debian Developer: nome...@debian.org
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to