User and Reference Guide for the Intel® Fortran Compiler 14.0

fpp

Runs the Fortran preprocessor on source files before compilation.

Syntax

Linux OS and OS X:

fpp[n]

fpp[="option"]

-nofpp

Windows OS:

/fpp[n]

/fpp[:"option"]

/nofpp

Arguments

n

Deprecated. Tells the compiler whether to run the preprocessor or not. Possible values are:

0

Tells the compiler not to run the preprocessor.

1, 2, or 3

Tells the compiler to run the preprocessor.

option

Is a Fortran preprocessor (fpp) option. For a list of fpp options, see Using Fortran Preprocessor Options.

The preprocessor option must appear within quotes. On Linux* OS and OS X*, the preprocessor options must start with a dash(-); for example, "-macro=no". On Windows* OS, the preprocessor options must start with a slash (/); for example, "/macro=no".

Default

nofpp

The Fortran preprocessor is not run on files before compilation.

Description

This option runs the Fortran preprocessor on source files before they are compiled.

If the option is specified with no argument, the compiler runs the preprocessor.

If 0 is specified for n, it is equivalent to nofpp. Note that argument n is deprecated.

We recommend you use option Qoption,fpp,"option" to pass fpp options to the Fortran preprocessor.

IDE Equivalent

Windows: Preprocessor > Preprocess Source File

Linux: None

OS X: Preprocessor > Preprocess Source File

Alternate Options

Linux and OS X: -cpp (this is a deprecated option)

Windows: None

Example

The following option disables symbol replacement (also known as macro expansion) during the preprocessor step:

-fpp="-macro=no"   !Linux* OS and OS X*
/fpp:"/macro=no"   !Windows* OS

See Also


Submit feedback on this help topic