D

Defines a macro name that can be associated with an optional value.

IDE Equivalent

Windows: Preprocessor > Preprocessor Definitions

Linux: Preprocessor > Preprocessor Definitions

Mac OS X: Preprocessor > Preprocessor Definitions

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Dname[=value]

Windows:

/Dname[=value]

Arguments

name

Is the name of the macro.

value

Is an optional integer or an optional character string delimited by double quotes; for example, Dname=string.

Default

OFF

Only default symbols or macros are defined.

Description

Defines a macro name that can be associated with an optional value. This option is equivalent to a #define preprocessor directive.

If a value is not specified, name  is defined as "1".

If you specify noD, all preprocessor definitions apply only to fpp and not to Intel® Fortran conditional compilation directives. To use this option, you must also specify option fpp.

Caution iconCaution

On Linux and Mac OS X systems, if you are not specifying a value, do not use D for name, because it will conflict with the -DD option.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.