-U


This option deletes the definition of the preprocessor macro or assembler symbol by the -D option.

[Specification format]

-Uname[,name]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option deletes the definition of the preprocessor macro or user-defined symbol of the assembler name by the -D option.

-

This is equivalent to adding "#undef name" at the beginning of the source program.

-

An error will occur if name is omitted.

-

This option cannot delete the definition by describing "#define name def" and ".SET name def" (only assembly source program).

-

This option can be used to undefine C language macros that have been defined already, but it cannot undefine the following macros: __LINE__, __FILE__, __DATE__, __TIME__, __CCRH__, or __CCRH.
An error will occur if these are specified for name.

-

This option can be specified more than once.

-

If both this option and -D option are specified for the same preprocessor macro and assembler symbol, the option specified last will be valid.

[Example of use]

-

To delete the definition of preprocessor macro "test" by the -D option, describe as:

>ccrh -Utest -Xcommon=rh850 main.c