MISRA Discussion Forums

Full Version: Rule 1.3 and Appendix H.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
About the following description in the section Appendix H.1:
If a particular undefined behaviour has no entry in the “Guidelines” column then an instance of that behaviour in a program is a violation of Rule 1.3.

I have a question:
Does it mean that we can fill "rule 1.3" in the blank cell in the "Guidelines" column.
or it mean that we can fill "rule 1.3" in all the cell in the "Guidelines" column?

So, if the answer is the second one, in conclusion,if an instant in your code violate a specific rule listed in the “Guidelines” column. then It shall also violate Rule 1.3.
if the answer is the first one, in conclusion, if an instant in your code violate a specific rule listed in the “Guidelines” column. But we don't say it violate Rule 1.3.
I am justly a little confused about the descrption.
It is equivalent to filling in "rule 1.3" to the blank cells in the "Guidelines" column in Appendix H.1.
If you violate a rule listed in the "Guidelines" column you do not also violate rule 1.3.