[fpc-pascal] Empty record inside another record ?
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Feb 19 10:59:55 CET 2008
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
More information about the fpc-pascal
mailing list