01-05-2008, 02:49 PM
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
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>