Home > arm-linux-gnueabi-cpp > arm-linux-gnueabi-cpp -fdirectives-only

arm-linux-gnueabi-cpp(1) -fdirectives-only
The C Preprocessor
-fdirectives-only
    When preprocessing, handle directives, but do not expand macros.

    The option's behavior depends on the -E and -fpreprocessed options.

    With -E, preprocessing is limited to the handling of directives such as "#define", "#ifdef", and
    "#error".  Other preprocessor operations, such as macro expansion and trigraph conversion are not
    performed.  In addition, the -dD option is implicitly enabled.

    With -fpreprocessed, predefinition of command line and most builtin macros is disabled.  Macros such
    as "__LINE__", which are contextually dependent, are handled normally.  This enables compilation of
    files previously preprocessed with "-E -fdirectives-only".

    With both -E and -fpreprocessed, the rules for -fpreprocessed take precedence.  This enables full
    preprocessing of files previously preprocessed with "-E -fdirectives-only".

Tips or Questions?


Powered by ExplainShell