Part Number: TMS320F28075
Hi,
my customer added below two sentences to suppress the warning according to the related post suggestion
#pragma diag_suppress 770
#pragma diag_default 770
But they are wondering if it will bring any risk for the project.
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.
Part Number: TMS320F28075
Hi,
my customer added below two sentences to suppress the warning according to the related post suggestion
#pragma diag_suppress 770
#pragma diag_default 770
But they are wondering if it will bring any risk for the project.
Howard,
Typically when we want to suppress the warning for a specific line of code, we do it as follows:
#pragma diag_suppress=770
#pragma diag_suppress=173
<line of code>
#pragma diag_warning=770
#pragma diag_warning=173
This ensures its impact is local and specific to that line of code.
Thanks,
Sira