[fpc-pascal] FPC 2.4.1 with library that requires old libc unit.
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Apr 23 12:05:04 CEST 2010
Jonas Maebe het geskryf:
>> uses clause. No idea why - maybe Libc unit is only 32bit?
>
> Yes, it is.
What I expected due to Kylix compatibility.
> No, there is not. You have to manually import it from the C library.
> You can look at rtl/unix/cwstring.pp to see the declaration of this
> function for various platforms (note that it's mbrlen() in most cases
> -- that one is preferable to mblen() because mblen() is not thread-
> safe).
Thank you very much. I manually imported that function and FBLib works fine
now under FPC 2.4.1 64bit. No more requirements on the old Libc unit for
32bit and 64bit systems. :-)
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list