Am 23.09.2013 14:28, schrieb Juha Manninen:
On Mon, Sep 23, 2013 at 3:06 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
Use Delphi mode or TP mode.
Thanks, it helped.
Actually there already was {$MODE Delphi} in an include file.
Apparently it does not work, it must be in every pascal unit.
The include needs to be before the interface uses clause. Better before
the 'interface' keyword. Otherwise the modeswitch inside an include file
works without problems as the FPC compiler uses that as well. Maybe you
need to check for warnings...
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal