Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-04

FPC 2.6.0 2.6.2 incompatibility take 2

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

While looking at mantis 14473 I noticed that
FPC 2.6.0 writes out ANSI characters when using StrPLCopy: StrPLCopy(
@PAfterHdrVII(PChar(Header)+SizeOf(rDbfHdr))^.LanguageDriverName[32], ConstructLangName(FFileCodePage, lLocaleID, false),63-32);

However, FPC 2.6.2 apparently uses the widestring version of that function when called like that; fixing it required explicitly casting to PChar.

Is this because there are new widestring routines in 2.6.2? Should/can these changes be documented?

Thanks,
Reinier