-Uname

This option removes any initial definition of the macro name.

The macro name can be either:

Note

Not all compiler predefined macros can be undefined.

Show/hideSyntax

-Uname

Where:

name

is the name of the macro to be undefined.

Show/hideUsage

Specifying -Uname has the same effect as placing the text #undef name at the head of each source file.

Show/hideRestrictions

The compiler defines and undefines macros in the following order:

  1. compiler predefined macros

  2. macros defined explicitly, using -Dname

  3. macros explicitly undefined, using -Uname.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0491C
Non-ConfidentialID080411