On 29/10/2019 08:39, Alfred wrote: > Would it be possible to add a macro definition (in trunk) to indicate > that attributes are supported ? > > E.g. FPC_HAS_CUSTOMATTRIBUTES
Normally we don't do that, unless it's required for bootstrapping. You should use a compiler version check instead. E.g. {$if FPC_FULLVERSION >= 30301} { attributes are supported; if not, the user has to update their trunk to a newer revision. Older trunk versions are never supported. } {$endif} Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel