D
Defines a macro name that can be associated with an optional value.
dD, QdD
Same as option -dM, but outputs #define directives in preprocessed source.
dM, QdM
Tells the compiler to output macro definitions in effect after preprocessing.
E
Causes the preprocessor to send output to stdout.
EP
Causes the preprocessor to send output to stdout, omitting #line directives.
FI
Tells the preprocessor to include a specified file name as the header file.
H, QH
Tells the compiler to display the include file order and continue compilation.
I
Specifies an additional directory to search for include files.
idirafter
Adds a directory to the second include file search path.
imacros
Allows a header to be specified that is included in front of the other headers in the translation unit.
iprefix
Lets you indicate the prefix for referencing directories that contain header files.
iquote
Adds a directory to the front of the include file search path for files included with quotes but not brackets.
isystem
Specifies a directory to add to the start of the system include path.
iwithprefix
Appends a directory to the prefix passed in by -iprefix and puts it on the include search path at the end of the include directories.
iwithprefixbefore
Similar to -iwithprefix except the include directory is placed in the same place as -I command-line include directories.
M, QM
Tells the compiler to generate makefile dependency lines for each source file.
MD, QMD
Preprocess and compile, generating output file containing dependency information ending with extension .d.
MF, QMF
Tells the compiler to generate makefile dependency information in a file.
MG, QMG
Tells the compiler to generate makefile dependency lines for each source file.
MM, QMM
Tells the compiler to generate makefile dependency lines for each source file.
MMD, QMMD
Tells the compiler to generate an output file containing dependency information.
MQ, QMQ
Changes the default target rule for dependency generation.
MT, QMT
Changes the default target rule for dependency generation.
nostdinc++
Do not search for header files in the standard directories for C++, but search the other standard directories.
P
Tells the compiler to stop the compilation process and write the results to a file.
TP
Tells the compiler to process all source or unrecognized file types as C++ source files. This is a deprecated option that may be removed in a future release.
U
Undefines any definition currently in effect for the specified macro.