Chapter 14. Miscellaneous (MSC)

Recommendations and Rules

images

Risk Assessment Summary

images

MSC00-C. Compile cleanly at high warning levels

Compile code using the highest warning level available for your compiler, and eliminate warnings by modifying the code.

According to C99, Section 5.1.1.3:

A conforming implementation shall produce at least one diagnostic message (identified in an implementation-defined manner) if a preprocessing translation unit or translation unit contains a violation of any syntax rule or constraint, even if the behavior is also explicitly ...

Get The CERT® C Secure Coding Standard now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.