Equivalent Compiler Options

Some compiler directives and compiler options have the same effect, as shown in the table below. However, compiler directives can be turned on and off throughout a program, while compiler options remain in effect for the whole compilation unless overridden by a compiler directive.

The following table shows compiler directives and equivalent command-line compiler options:

Compiler Directive

Equivalent Command-Line Compiler Option

DECLARE

-warn declarations (Linux* OS and Mac OS* X)

/warn:declarations (Windows* OS)

NODECLARE

-warn nodeclarations (Linux OS and Mac OS X)

/warn:nodeclarations (Windows OS)

DEFINE name

-Dname (Linux OS and Mac OS X)

/Dname (Windows OS)

FIXEDFORMLINESIZE:length

-extend-source [size] (Linux OS and Mac OS X)

/extend-source[:size] (Windows OS)

FREEFORM

-free or -nofixed (Linux OS and Mac OS X)

/free or /nofixed (Windows OS)

NOFREEFORM

-nofree or -fixed (Linux OS and Mac OS X)

/nofree or /fixed (Windows OS)

INTEGER:size

-integer_size size (Linux OS and Mac OS X)

/integer_size:size (Windows OS)

OBJCOMMENT

/libdir:user (Windows OS)

OPTIMIZE[ :n ]

-On (Linux OS and Mac OS X)

/On (Windows OS)

NOOPTIMIZE

-O0 (Linux OS and Mac OS X)

/Od (Windows OS)

PACK:alignment

-align recnbytes (Linux OS and Mac OS X)

/align:recnbytes (Windows OS)

REAL:size

-real-size size (Linux OS and Mac OS X)

/real-size:size (Windows)

STRICT

-warn stderrors with -stand f03 (Linux OS and Mac OS X)

/warn:stderrors with /stand:f03 (Windows)

NOSTRICT

-warn nostderrors (Linux OS and Mac OS X)

/warn:nostderrors (Windows OS)


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。