ARM-software / acle

Arm C Language Extensions (ACLE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[proposal] New macro __ARM_ACLE_VERSION to use with the new __ARM_ACLE macro definition

vhscampos opened this issue · comments

With the new proposed __ARM_ACLE macro definition, we should consider the creation of a new utility macro to use with it:

#define __ARM_ACLE_VERSION(year,quarter,patch) (year*100 + quarter*10 + patch)
#if __ARM_ACLE >= __ARM_ACLE_VERSION(2024, 1, 0 )

Related to #294

Suggested by @DanielKristofKiss