26-11-2015, 10:30 AM
Rule 5.5 amplification states that
If the code is compiled when NO_TAG is not defined, the code after preprocessing will include a function identifier "log". Under these circumstances, there is a violation of rule 5.5.
Quote: name of macros that exist prior to preprocessingbe distinct from
Quote: identifiers that exist after preprocessing.Prior to preprocessing there is a macro called "log".
If the code is compiled when NO_TAG is not defined, the code after preprocessing will include a function identifier "log". Under these circumstances, there is a violation of rule 5.5.
Posted by and on behalf of the MISRA C Working Group