[fpc-pascal] Re: WinCE / Win32 compilation
Uffe Kousgaard
uffe at routeware.dk
Sat Oct 16 12:35:29 CEST 2010
"Jonas Maebe" <jonas.maebe at elis.ugent.be> wrote in
message news:6EF537CB-D266-4034-8C96-8286158AC7A9 at elis.ugent.be...
> 1) Whenever I compile "single = min(single,single)" I have to add math.min
> or the win32 compiler complains and expects longints instead. Is there a
> difference between the RTL in the two versions?
> Compile with -vh to see which declaration the compiler finds when the
> compilation fails.
Max(LongInt,LongInt): LongInt
> TCriticalSection is not a class, it's a Win API struct.
It is a class in D7, SyncObjs.pas. And understood by the WinCE compiler, at
least it seems so.
Even if it just maps to the WinAPI, it is still a class.
More information about the fpc-pascal
mailing list