Tool/software:
Hi
I just had an error on our pipeline that I almost missed.
When looking for something else I found this logline
>> ERROR: Cannot open command file 'C:/xxxx/diagnostic_options.opt': No such file or directory
The error is real, (I made a wrong path). But It was almost missed because the compiler does not stop or return error state, for gmake to detect.
The build just went on as if nothing was wrong, ending with
Finished building target: "Control_CPU.out"
I expected an error to behave like described in the manual
• A fatal error indicates a problem so severe that the compilation cannot continue. Examples of such problems
include command-line errors, internal errors, and missing include files. If multiple source files are being
compiled, any source files after the current one will not be compiled.
• An error indicates a violation of the syntax or semantic rules of the C/C++ language. Compilation may
continue, but object code is not generated.
I recreated the faulty build in CCS, here the error parser does catch it, an list it as errors, but the build still completes.
Is this a bug, or is there an option I need to set to make the compiler stop on such errors?