04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

See also<br />

• ISO/IEC 9899:TC2.<br />

2.1.160 -Uname<br />

This option removes any initial definition of the macro name.<br />

The macro name can be either:<br />

• a predefined macro<br />

• a macro specified using the -D option.<br />

Note<br />

Not all compiler predefined macros can be undefined.<br />

Syntax<br />

-Uname<br />

Where:<br />

name<br />

is the name of the macro to be undefined.<br />

Usage<br />

Specifying -Uname has the same effect as placing the text #undef name at the head of each<br />

source file.<br />

Restrictions<br />

The compiler defines and undefines macros in the following order:<br />

1. compiler predefined macros<br />

2. macros defined explicitly, using -Dname<br />

3. macros explicitly undefined, using -Uname.<br />

See also<br />

• -C on page 2-22<br />

• -Dname[(parm-list)][=def] on page 2-35<br />

• -E on page 2-52<br />

• -M on page 2-88<br />

• Compiler predefines on page 4-198.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-127<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!