__RTEMS_REVISION__ broken in all rtems versions
I am not sure how the number is exactly used but I want to test whether I am building against 4.6.6 or 4.6.5 or another release of the 4.6 branch. I can use the following:
#if (RTEMS_MAJOR > 4) (RTEMS_MAJOR == 4 && RTEMS_MINOR > 6)
|
But I want to test for the last digit also (1 until 6 for 4.6 at this moment)
Change History (3)
Severity: |
enhancement →
minor
|
Summary: |
Now possible to check for micro number →
__RTEMS_REVISION__ broken in all rtems versions
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
misc →
unspecified
|
Should now be fixed on rtems-4-6-branch, rtems-4-7-branch and HEAD.