Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 4.1 Question
#1
Hello,

I was just wondering if anybody has come across a possible discrepancy with the Exemplar Test suite 4.1. In the MISRA 2004 standard, Rule 4.1 states that "Only those escape sequences that are defined in the ISO C Standard shall be used". Section 5.2.2 of the ISO C standard lists valid escape sequences, but section 6.4.4.4 in the ISO C Standard also further defines escape clauses that are used.

The Rule 4.1 test case lists hexadecimal escape clauses as being non-compliant, but section 6.4.4.4 in the ISO C Standard indicates that hexadecimal clauses are valid.

I am just wondering if anybody has considered this is as a mistake in the test suite?

Thanks,
Jerry
<t></t>
Reply
#2
Log in to this board, then from the main index -> MISRA C Resources -> MISRA-C:2004 Technical Corrigendum 1 -> download.

It contains a clarification of the escape sequence rules.
<t></t>
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)