[fpc-devel] Generic List in Advanded record does not compile with -MobjFPC, works with -MDelphi (perhaps related to Generics.Collections that I am using)
Sven Barth
pascaldragon at googlemail.com
Mon Apr 27 22:18:41 CEST 2015
On 27.04.2015 21:46, Michael Ring wrote:
> Did not work, now I get
>
> Fatal: Syntax error, ";" expected but "identifier PUBLIC" found
>
> I did a cut & paste of your code into my code
Do you have {$modeswitch advancedrecords} enabled? I thought you already
have that, because of the "constructor" (without that modeswitch
constructors/methods wouldn't work either).
Regards,
Sven
More information about the fpc-devel
mailing list