[fpc-devel]win32 compiler funny

Jonas Maebe jonas at zeus.rug.ac.be
Thu Sep 21 09:01:01 CEST 2000


>this w32 program compiles ok with w32 release, but gives error message with
>latest snapshot...!  Why?
>
> <<SIMP.ZIP>> 
>c:\pas>pas simp
>win32/snap(s) c:\ppw\bin\ppc386 (20/09/00 02:07 258560)--
>rtl path in .cfg is -FuC:\PPw\RTL\win32
>Free Pascal Compiler version 1.1 [2000/09/20] for i386
>Copyright (c) 1993-2000 by Florian Klaempfl
>Target OS: Win32 for i386
>Compiling simp.pp
>simp.pp(27,5) Fatal: Syntax error, BEGIN expected but OUT found

'OUT' is apparently some kind of calling convention for which support was 
added in version 1.1 (and as such, 'out' is now a keyword). I don't know 
what it's used for.


Jonas




More information about the fpc-devel mailing list