On 19 Feb 2008, at 10:16, Tiziano De Togni wrote:

Vincent Snijders ha scritto:
Tiziano De Togni schreef:
Florian Klaempfl ha scritto:
Skybuck Flying schrieb:
One drawback of objects already discovered:

am I correct?

This is not allowed in {$mode objfpc}, because of the reasons Florian memtioned. It is allowed in {$mode delphi}.
Vincent

errr... I tryied various combinations of options before posting, but did not try {$mode Delphi}... :-(

-S2 is the same as {$mode objfpc} and -Sd is the same as {$mode delphi}. With -S2cdgi you are trying to set both {$mode objfpc} (-S2) and {$mode delphi} (-Sd). There is a bug in the compiler though, because for some reason -S2d does not seem to properly set Delphi mode (or unset objfpc mode) while it should.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to