[fpc-devel] Some RTL bug fixes and suggestions

Sven Barth pascaldragon at googlemail.com
Mon Mar 26 17:17:09 CEST 2018


NetSpirit <netspirit at meta.ua> schrieb am Mo., 26. März 2018, 16:10:

> packages\pasjpeg
>
> Error usage after compile in -Mdelphiunicode mode.
> In file 'packages\pasjpeg\src\jpeglib.pas' member
> jpeg_error_mgr.format_message still uses AnsiString which is wrong.
> Because at the end of file 'packages\pasjpeg\src\jconfig.inc' exists
> switch {$MODE DELPHI}
> Possible solution: {$ifndef UNICODE}{$MODE DELPHI}{$endif}
>
> =============
>
> File 'packages\winunits-base\src\wininet.pp' - error compile in
> -Mdelphiunicode mode (with -dFPC_OS_UNICODE cmd line switch).
>
> There is errors in declarations of overloaded functions
> - FindFirstUrlCacheEntry
> - FindNextUrlCacheEntry
>

The RTL and packages are not geared for compilation with different modes.
Leave that be until this is handled by an official release.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180326/6bc9e861/attachment.html>


More information about the fpc-devel mailing list