2.1.116. -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.

Syntax

-Uname

Where:

name

is the name of the macro to be undefined.

Usage

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

Restrictions

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.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential