[fpc-devel] Attributes
Jonas Maebe
jonas at freepascal.org
Sat Nov 2 16:09:04 CET 2019
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
More information about the fpc-devel
mailing list