Oracle® Solaris Studio 12.4: C++ User's Guide

Exit Print View

Updated: March 2015
 
 

3.3.11 Preprocessor Options

Table 3-12  Preprocessor Options
Option
Action
-Dname[=def]
Defines symbol name to the preprocessor.
-E
Runs only the preprocessor on the C++ source files and sends the result to stdout. Includes information about the the source of the preprocessed lines. Does not compile.
-H
Prints the path names of included files.
-P
Only preprocesses source; outputs to .i file.
-Uname
Deletes initial definition of preprocessor symbol name.
-xM
Outputs makefile dependency information.
-xM1
Generates dependency information but excludes /usr/include.