This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Convert warnings to errors during compilation

Hello,

I'm using TMS320C6000 C/C++ CODE GENERATION TOOLS version 6.1.11 and I'd like to manage any warning detected by the compiler as an error. I've read the compiler guide and I've seen the option pdse :

--diag_error=num -pdse Categorizes the diagnostic identified by num as an error

The drawback is we need to know the warning id to apply this option. What I want is to manage any warning as an error. Does it exist a compiler option to turn a warning to an error ? Is the option "-pedantic-errors" (of some GNU compilers) also available with C6000 ?

 

Thanks in advance

 

Regards

Olivier