Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
194
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Preprocessor.
--public_equ
--public_equ symbol[=value]
This option is equivalent to defining a label in assembler language by using the 
EQU
 
directive and exporting it using the 
PUBLIC
 directive.
-r, --debug
-r
--debug 
Use the 
-r
 or the 
--debug
 option to make the compiler include information required 
by the IAR C-SPY Debugger and other symbolic debuggers in the object modules.
Note: Including debug information will make the object files larger than otherwise.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Output.
--remarks
--remarks 
The least severe diagnostic messages are called remarks (see Severity levels, page 279)
A remark indicates a source code construct that may cause strange behavior in the 
generated code. 
By default, the compiler does not generate remarks. Use this option to make the 
compiler generate remarks.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Diagnostics.
--require_prototypes
--require_prototypes
This option forces the compiler to verify that all functions have proper prototypes. Using 
this option means that code containing any of the following will generate an error:
A function call of a function with no declaration, or with a Kernighan & Ritchie 
C declaration
A function definition of a public function with no previous prototype declaration
An indirect function call through a function pointer with a type that does not include 
a prototype.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Language.