Hi
We are running CCS 5.3 and CGT 7.2.4. I frequently find that the compiler error output is difficult to interpret for the case where a header file is missing.
For example, consider the case where:
fileA.c includes fileB.h, which includes fileC.h, which includes (at line 24) fileD.h.
Suppose fileD.h is missing. The compiler reports:
--cmd_file="./configPkg/compiler.opt" "fileA.c"
"fileC.h", line 24: fatal error #5: could not open source file "fileD.h"
1 fatal error detected in the compilation of "fileA.c".
Compilation terminated.
So the problem is that the compiler makes no mention of fileB.h. I believe that gcc compilers do a much better job of this and would report each include file in the tree that the compiler traversed until it found an error.
Is there an option to improve the error reporting or is this a bug or limitation?
BR
David