TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
ASML C Coding Standard
Search

Rule:  6.10.2.bChecked automatically with code checker

Synopsis:Including source files is not allowed.
Language:C
Severity Level:6
Category:Preprocessing Directives


Description:

Justification

When including a source file, all its elements are included, such as local variables. This leads to name clashes and unpredictable behavior.

Example

#include "status.c" /* WRONG */