File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
c/misra/test/rules/RULE-21-1 Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11| test.c:1:1:1:17 | #define _NOT_OKAY | Reserved identifier '_NOT_OKAY' has been undefined or redefined. |
22| test.c:2:1:2:16 | #undef _NOT_OKAY | Reserved identifier '_NOT_OKAY' has been undefined or redefined. |
3- | test.c:4:1:4:15 | #define defined | Reserved identifier 'defined' has been undefined or redefined. |
43| test.c:5:1:5:13 | #define errno | Reserved identifier 'errno' has been undefined or redefined. |
Original file line number Diff line number Diff line change 11#define _NOT_OKAY // NON_COMPLIANT
22#undef _NOT_OKAY // NON_COMPLIANT
33
4- #define defined // NON_COMPLIANT
5- #define errno // NON_COMPLIANT
4+ // #define defined // NON_COMPILABLE
5+ #define errno // NON_COMPLIANT
66
77#define NDEBUG 1 // COMPLIANT
You can’t perform that action at this time.
0 commit comments