Andres Loeh wrote:
> [...] The problem (that can be witnessed by calling ghc with the
> option -v) is that in calling the C preprocessor, the double quotes
> around the value of GET_PROC_ADDRESS, which are syntactically
> necessary, are no longer present. The problem can be fixed by
> quoting the double quotes once more, i.e. by saying
>
> SRC_HC_OPTS += -DCALLCONV=ccall '-DGET_PROC_ADDRESS=\"glXGetProcAddressARB\"'
>
> However, this is a change in behaviour compared to earlier versions
> of ghc that seems undesireable to me ... [...]

I'm currently developing within the build tree of the HEAD from May
24th, and the double quotes *do* come through. If newer GHCs changed
that behaviour, that would truly suck and probably breaks lots of
Makefiles out there. I guess I'll have to build a new GHC to
investigate this further...  >:-(

Cheers,
   S.


_______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to