Building GHC head with clang on Mavericks

Carter Schonwald carter.schonwald at gmail.com
Thu Jan 2 22:38:23 UTC 2014


it looks like their work around is using ## rather than /**/


On Thu, Jan 2, 2014 at 4:51 PM, Carter Schonwald <carter.schonwald at gmail.com
> wrote:

> oh right, that is a problem with clang no matter what.
>
> lens hit this issue, https://github.com/ekmett/lens/issues/357
> I think the solution is "don't do that" if you want to support clang being
> the C compiler GHC uses, though you'll have to look at the diffs on that
> ticket closely to see how they addressed it
>
>
> On Thu, Jan 2, 2014 at 4:31 PM, Sven Panne <svenpanne at gmail.com> wrote:
>
>> 2014/1/2 Carter Schonwald <carter.schonwald at gmail.com>:
>> > sven,http://www.haskell.org/platform/mac.html  has a wrapper script
>> that
>> > makes clang play nice with CPP, though a simpler alternative one can be
>> > found on manuel's page [...]
>>
>> I've seen the wrappers before, but do they really solve the problem
>> for OpenGLRaw (concatenation via /**/ and replacement in strings)? As
>> I said, I don't have access to a Mac, but the mangled options don't
>> look like if they have anything to do with that. Can somebody confirm
>> that?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140102/2e688fa4/attachment.html>


More information about the ghc-devs mailing list