Make sure that included header file names are unique. According to the C standard [ISO/IEC 9899:2011],
The implementation shall provide unique mappings for sequences consisting of one or more nondigits or digits (6.4.2.1) followed by a period (.) and a single nondigit. The first character shall not be a digit. The implementation may ignore distinctions of alphabetical case and restrict the mapping to eight significant characters before the period.
...
This compliant solution avoids the ambiguity by renaming the associated files to be unique under the above the preceding constraints.
Code Block | ||||
---|---|---|---|---|
| ||||
#include "Lib_main.h" #include <stdio.h> #include <stdlib.h> #include "lib_2.h" #include "util_math.h" #include "util_physics.h" #include "my_library.h" /* Rest of program */ |
...