Ross Paterson wrote:
On Wed, Nov 08, 2006 at 10:10:47AM +0000, Simon Marlow wrote:
Ross Paterson wrote:
Any idea what's going on here? (It doesn't happen in my build.)
The X11 version on that machine doesn't understand XUTIL_DEFINE_FUNCTIONS,
that must be a recent addition. Perhaps #undef XDestroyImage?
Hugs does just that:
#ifndef ENABLE_MACRO_INTERFACE
#undef XDestroyImage
#endif
for every static foreign import, for early detection of things that are
going to fail on a not-via-C route.
We have some code to do that in GHC's C back end too, but it's currently
disabled because sometimes we really do like to foreign-import macros (for
performance). Can we just #undef XDestroyImage (and friends) in HsX11.h?
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc