Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to fix the MISRA C:2012 8.4 rule?

2 次查看(过去 30 天)
Geetanjali Hiremath
关闭: Jan 2022-3-11
8.4 MISRA C Rule - A compatible declaration shall be visible when an object or function with external linkage is defined.
This rule will be fixed, when the variable/function is declared as an extern, but if the variable/function is used in a single file then how to fix this
(will it can fixed using static) ??
Suggestion: Please share some code snippets with solved violations for MISRA Rules to help in fixing them, for beginners.
Thank You.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by