Simon Marlow wrote: > > HOpenGL did it once again... :-} The NCG for x86 > > doesn't honour the calling convention for "wrappers": > > I've looked into this and unfortunately it's not an easy one to fix.
Well, I had a quick look, too, and didn't see an easy fix, either: The name of the stub is constructed at a moment when the '@xx' suffix is not yet known, IIRC. > So we don't propose to fix it for 5.04.1, but instead make the > compiler emit a message encouraging you to use -fvia-C in this case. That's fine for me. I just stumbled over it while I was erroneously replacing *every* "ccall" with "stdcall" in HOpenGL for WinDoze. Cheers, S. _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
