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/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to