Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
Part 2. Compiler reference
Compiler options
177
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Diagnostics.
--diag_remark
--diag_remark=tag,tag,... 
Use this option to classify diagnostic messages as remarks. A remark is the least severe 
type of diagnostic message and indicates a source code construct that may cause strange 
behavior in the generated code. 
Example
The following example classifies the warning 
Pe177
 as a remark:
--diag_remark=Pe177
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Diagnostics.
--diag_suppress
--diag_suppress=tag,tag,...
Use this option to suppress diagnostic messages. 
Example
The following example suppresses the warnings 
Pe117
 and 
Pe177
:
--diag_suppress=Pe117,Pe177
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Diagnostics.
--diag_warning
--diag_warning=tag,tag,...
Use this option to classify diagnostic messages as warnings. A warning indicates an 
error or omission that is of concern, but which will not cause the compiler to stop before 
compilation is completed. 
Example
The following example classifies the remark 
Pe826
 as a warning:
--diag_warning=Pe826
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Diagnostics.