About Preprocessor Options

This section explains how preprocessor options are implemented in the IntelĀ® C++ Compiler to perform preliminary operations on C and C++ source files. The preprocessor options are summarized in the following table:

Option

Description

-E

preprocess to stdout. #line directives included.

-P

preprocess to a file. #line directives omitted.

-EP

preprocess to stdout omitting #line directives.

-C

retain comments in intermediate file (use with -E or -P).

-D

define a macro.

-U

undefine a macro.

-I

add directory to include file search path.

-X

remove standard directories from include file search path.

-H

print include file order.

-M

generate makefile dependency information.

See Also