patch applied (packages/base): Avoid calling varargs functions
using the FFI
Don Stewart
dons at galois.com
Mon May 12 04:15:58 EDT 2008
simonmarhaskell:
> Fri May 9 07:53:34 PDT 2008 Simon Marlow <marlowsd at gmail.com>
> * Avoid calling varargs functions using the FFI
> Calling varargs functions is explicitly deprecated according to the
> FFI specification. It used to work, just about, but it broke with the
> recent changes to the via-C backend to not use header files.
>
> M ./Control/Exception.hs -1 +3
> M ./Debug/Trace.hs -1 +3
> M ./cbits/PrelIOUtils.c +9
> M ./include/HsBase.h +3
>
The other thing that broke was importing functions from headers also
used in the rts.
Try the 'cmath' library, which binds to everything in math.h, lots of
funky symbol duplicates leading to failure.
-- Don
More information about the Cvs-libraries
mailing list