[lazarus] FPC question,complex forward records?

Florian Klaempfl Florian.Klaempfl at gmx.de
Fri Oct 11 19:15:55 EDT 2002


At 01:03 12.10.2002, you wrote:
>On Fri, 11 Oct 2002 07:22:53 +0200 (CEST)
>"Peter Vreman" <peter at freepascal.org> wrote :
>
>>Depends on the target. For Win32 it's ok. For Linux and other >Unixes it 
>>is wrong. wchar_t is 4 bytes there. You can use the UCS4Char type.
>
>Where is UCS4Char declared? It doesn't apear to be in System, ObjFPC, 
>Linux or SysUtils.

Hmmm, we (the fpc developers) are assuming that everybody uses 1.1 already 
:) . 1.0.x doesn't have it. You've to
define it yourself as

{$ifdef VER1_0}
   UCS4Char = LongWord;
{$endif VER1_0}

This should be compatible with future version of FPC.






More information about the Lazarus mailing list