03-02-2017, 03:35 PM
Your example does violate rule 13.3. It can be rewritten as which complies with both rules 13.2 and 13.3.
Code:
x = x + 1;
Posted by and on behalf of the MISRA C Working Group
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
Rule 13.3 incr/decr op with volatile
|
« Next Oldest | Next Newest »
|
Messages In This Thread |