25-02-2014, 05:53 AM
I have a question for the Rule8.13.
The rule8.13 is
A pointer should point to a const-qualified type whenever possible
A pointer parameter in a function prototype should be declared as pointer to const if the pointer is not used to modify the addressed object
However,
target of the rule16.7 on MISRAC-2004 is "pointer parameter in a fuction".
Why do you delete "pointer parameter in a function"?
Please tell me the reason.
Best Regards,
Kumiko Itoh
The rule8.13 is
A pointer should point to a const-qualified type whenever possible
A pointer parameter in a function prototype should be declared as pointer to const if the pointer is not used to modify the addressed object
However,
target of the rule16.7 on MISRAC-2004 is "pointer parameter in a fuction".
Why do you delete "pointer parameter in a function"?
Please tell me the reason.
Best Regards,
Kumiko Itoh
<t></t>