On 20/05/2020 15:55, Fabio Luis Girardi via fpc-pascal wrote: > FPC compiler has a define when custom attributes are present? > > Something like FPC_HAS_CONSTREF, to say when constref is available...
In general, such defines are only added if they are required for bootstrapping. For the same reason they are also removed again after a while, so you really should not use them. The only supported way to check for the presence of certain features is by performing a version check (FPC_FULLVERSION > XXXX). Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal