[C-safe-secure-studygroup] Implement Misra C Rule 2.3 A project should not contain unused type declarations by GCC
冠人 王
guanjen375 at yahoo.com.tw
Thu Jul 26 06:03:09 BST 2018
I try to implement rule 2.3 of Misra C by GCC.
I use the warning option -Wunused-local-typedefs to implement.
I am successful when the typedef is used in the function,
but not successful when the typedef is used outside the function.
How should I do ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.trustable.io/pipermail/c-safe-secure-studygroup/attachments/20180726/7d07a620/attachment.html>
More information about the C-safe-secure-studygroup
mailing list