[fpc-devel] Delphi incompatible encoding

Sven Barth pascaldragon at googlemail.com
Tue Dec 2 07:42:22 CET 2014

On 02.12.2014 00:01, Hans-Peter Diettrich wrote:
> Sven Barth schrieb:
>> Am 01.12.2014 10:33 schrieb "Hans-Peter Diettrich"
>> <DrDiettrich1 at aol.com <mailto:DrDiettrich1 at aol.com>>:
>>  > Another one:
>>  > Delphi XE does not export the CP_xxx encoding constants from
>> System.pas. This means that the encoding constants are not available
>> in (compatible) user code.
>> It's not the first and likely not the last we export from a different
>> unit than Delphi. There will *always* be differences which already
>> starts with Integer that is declared as an alias to LongInt in the
>> ObjPas unit in FPC.
> Well, Integer (and String...) are generic types, adjustable to the
> "best" overall performance on every target - whatever "best" will mean.

As I said, it's merely beginning there. For example we also export 
resource related functions from System and with further work on packages 
functions like LoadLibrary will also be moved to System.


More information about the fpc-devel mailing list