[fpc-devel]Possible Compiler bug in FPC 1.04 under Win32?

Peter Vreman peter at freepascal.org
Wed Jan 17 14:25:19 CET 2001

> function PDF_get_majorversion:Integer;
> begin
>   PDF_get_majorversion:=FPDF_get_majorversion();
> end;
> The parentices must be added when calling the function. After that 
> modification the compiler compiles the source code...
> Is is a compiler-bug?

No, it's a feature.

If you want the delphi/tp mode use {$mode delphi} or {$mode tp} in your source.

More information about the fpc-devel mailing list