[fpc-pascal]Debuging in Freepascal
Jonas Maebe
jonas at zeus.rug.ac.be
Tue Sep 26 17:19:30 CEST 2000
>You are right again, the unit is compiled with {$mode tp}
>
>I changed this switch against {$objfpc} but the unit didn´t compile anymore.
Don't use OBJFPC, use standard FPC mode. OBJFPC is Delphi with FPC
extensions.
>I don´t know why. Unexpected end of file is the error message.
>At the end of the unit is a intitialising part with
>begin
>.....
>end.
He probably uses nested comments. Turn on warnings (-vw).
Jonas
More information about the fpc-pascal
mailing list