Re: [fpc-devel] TShiftState as enum

2005-02-20 Thread DrDiettrich
Alexey Barkovoy wrote: Delphi dowsn't allow sets with ordinal values larger than 255 too: That's incorrect. Borland Delphi Version 13.0 Copyright (c) 1983,99 Inprise Corporation 1.pas(2) Error: Sets may have at most 256 elements Sets are restricted to a maximum of 256 members, but the

Re: [fpc-devel] TShiftState as enum

2005-02-20 Thread Alexey Barkovoy
Delphi dowsn't allow sets with ordinal values larger than 255 too: That's incorrect. . Sets are restricted to a maximum of 256 members, but the ordinal values of the members can be higher. As I've already posted: sample code below not compile in any Delphi version. You can try it yourself.

[fpc-devel] Can't declare procedure as EXTERNAL

2005-02-20 Thread Den Jean
Hi, I am porting CLX to FPC. Some time ago, when I created a Qt/Embedded binding for FPC, Qt.pas did not compile anymore due to some changes in FPC. The error was: Can't declare procedure as EXTERNAL See also: http://www.nl.freepascal.org/lists/fpc-pascal/2004-December/007738.html I created

Re: [fpc-devel] Can't declare procedure as EXTERNAL

2005-02-20 Thread Peter Vreman
Hi, I am porting CLX to FPC. Some time ago, when I created a Qt/Embedded binding for FPC, Qt.pas did not compile anymore due to some changes in FPC. The error was: Can't declare procedure as EXTERNAL See also: http://www.nl.freepascal.org/lists/fpc-pascal/2004-December/007738.html I