> On Sep 27, 2022, at 4:17 PM, Marco van de Voort via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> 3.2.2 compiles without warnings,  3.3.1 (i386-win32 from 17 sept:)
> 
> ptt.pp(14,44) Warning: This property will not be published
> 
> Possibly enums with assigned values (which can have gaps) are not safe to 
> publish, and this was only now noted?

I must have missed that.

What’s a good solution here? It looks like the code needs these enums to be 1 
indexed, otherwise they are all in order with no gaps. If I could publish those 
and just do a +1 first that would work.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to