09-10-2014, 08:37 AM
After considering this situation, the MISRA working group has decided that the wording of the exception should be modified in a later Technical Corrigendum. The exception should only apply to expressions that are of essentially signed or essentially unsigned type. NOT_OK is an “essentially enum†type and would not be covered by the re-worded exception.
Therefore both [1] and [2] should be considered as not compliant with rule 10.5
Therefore both [1] and [2] should be considered as not compliant with rule 10.5
Posted by and on behalf of the MISRA C Working Group