24-04-2018, 09:28 AM
The headline for EXP35-C is "Do not modify objects with temporary lifetime", where "temporary lifetime" is a new term introduced in C11.
However, you are correct that the examples for EXP35-C show that the rule is intended to cover similar undefined behaviour in C99. The coverage should be mapped to Rule 1.3 with a classification of Implicit/Weak.
However, you are correct that the examples for EXP35-C show that the rule is intended to cover similar undefined behaviour in C99. The coverage should be mapped to Rule 1.3 with a classification of Implicit/Weak.
Posted by and on behalf of the MISRA C Working Group