<div dir="ltr">Hey Kazu,<div style>Nick Partridge hit this recently and he's got PR's pending for Happy and Alex <a href="https://github.com/simonmar/alex/pull/37">https://github.com/simonmar/alex/pull/37</a> and  <a href="https://github.com/simonmar/happy/pull/12">https://github.com/simonmar/happy/pull/12</a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 1:13 AM, Kazu Yamamoto <span dir="ltr"><<a href="mailto:kazu@iij.ad.jp" target="_blank">kazu@iij.ad.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
As I wrote in the following blog article, I could build GHC head on<br>
Mavericks 20 days ago.<br>
<br>
        <a href="http://d.hatena.ne.jp/kazu-yamamoto/20131028/1382921924" target="_blank">http://d.hatena.ne.jp/kazu-yamamoto/20131028/1382921924</a><br>
<br>
But I cannot build it recently:<br>
<br>
----<br>
"/usr/bin/ghc" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O  -package-db libraries/bootstrapping.conf   -i -iutils/genprimopcode/. -iutils/genprimopcode/dist/build -iutils/genprimopcode/dist/build/autogen -Iutils/genprimopcode/dist/build -Iutils/genprimopcode/dist/build/autogen       -package array  -no-user-package-db -rtsopts      -odir utils/genprimopcode/dist/build -hidir utils/genprimopcode/dist/build -stubdir utils/genprimopcode/dist/build   -c utils/genprimopcode/dist/build/Lexer.hs -o utils/genprimopcode/dist/build/Lexer.o<br>


<br>
<built-in>:2:2: Not in scope: `#'<br>
make[1]: *** [utils/genprimopcode/dist/build/Lexer.o] Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
shift/reduce conflicts:  46<br>
reduce/reduce conflicts: 1<br>
make: *** [all] Error 2<br>
----<br>
<br>
I seems to me that linemarkers generated by GCC(CPP) is not correctly<br>
handled when alex is used. Note I can build GHC head on FreeBSD and<br>
Linux.<br>
<br>
I'm using clang with clang-xcode5-wrapper.hs.<br>
<br>
Any suggestions?<br>
<br>
--Kazu<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</blockquote></div><br></div>