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

On Thu, Jan 2, 2014 at 4:51 PM, Carter Schonwald <[email protected]
> 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 <[email protected]> wrote:
>
>> 2014/1/2 Carter Schonwald <[email protected]>:
>> > 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?
>>
>
>
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to