U

Undefines any definition currently in effect for the specified macro.

IDE Equivalent

Windows: C/C++ > Advanced > Undefine Preprocessor Definitions

Linux: Preprocessor > Undefine Preprocessor Definitions

Mac OS: Preprocessor > Undefine Preprocessor Definitions

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -Uname
Windows:  /Uname

Arguments

name Is the name of the macro to be undefined.

Default

OFF Macro definitions are in effect until they are undefined.

Description

This option undefines any definition currently in effect for the specified macro. It is equivalent to a #undef preprocessing directive.

Alternate Options

None

See Also

Building Applications: About Preprocessor Options