Specifications
CAVR-4
Part 2. Compiler reference
Compiler options
191
--no_ubrof_messages --no_ubrof_messages
Use this option to minimize the size of your application object file by excluding
messages from the UBROF files. A file size decrease of up to 60% can be expected. Note
that the XLINK diagnostic messages will, however, be less useful when you use this
option.
This option is related to the Output options in the C/C++ Compiler category in IAR
Embedded Workbench.
--no_tbaa --no_tbaa
Use --no_tbaa to disable type-based alias analysis. When this options is not used, the
compiler is free to assume that objects are only accessed through the declared type or
through
unsigned char. See Type-based alias analysis, page 124 for more
information.
This option is related to the Optimization options in the C/C++ Compiler category in
IAR Embedded Workbench.
--no_typedefs_in_diagnostics --no_typedefs_in_diagnostics
Normally, when a type is mentioned in a message from the compiler, most commonly
in a diagnostic message of some kind, the typedef names that were used in the original
declaration are used whenever they make the resulting text shorter. For example,
typedef int (*MyPtr)(char const *);
MyPtr p = "foo";
will give an error message like the following:
Error[Pe144]: a value of type "char *" cannot be used to
initialize an entity of type "MyPtr"
If the --no_typedefs_in_diagnostics option is specified, the error message will
be like this:
Error[Pe144]: a value of type "char *" cannot be used to
initialize an entity of type "int (*)(char const *)"
--no_warnings
--no_warnings
By default, the compiler issues warning messages. Use this option to disable all warning
messages.
To set the equivalent option in IAR Embedded Workbench, select
Project>Options>C/C++ Compiler>Diagnostics.