Home > arm-linux-gnueabi-cpp > arm-linux-gnueabi-cpp -Wunused-macros

arm-linux-gnueabi-cpp(1) -Wunused-macros
The C Preprocessor
-Wunused-macros
    Warn about macros defined in the main file that are unused.  A macro is used if it is expanded or
    tested for existence at least once.  The preprocessor will also warn if the macro has not been used
    at the time it is redefined or undefined.

    Built-in macros, macros defined on the command line, and macros defined in include files are not
    warned about.

    Note: If a macro is actually used, but only used in skipped conditional blocks, then CPP will report
    it as unused.  To avoid the warning in such a case, you might improve the scope of the macro's
    definition by, for example, moving it into the first skipped block.  Alternatively, you could provide
    a dummy use with something like:

            #if defined the_macro_causing_the_warning
            #endif

Tips or Questions?

More Commands:

arm-linux-gnueabi-cpp
arm-linux-gnueabi-cpp -C
arm-linux-gnueabi-cpp -fdirectives-only
arm-linux-gnueabi-cpp -x
arm-linux-gnueabi-cpp -fworking-directory
arm-linux-gnueabi-cpp -Wunused-macros
arm-linux-gnueabi-cpp -fpreprocessed
arm-linux-gnueabi-cpp -Wtrigraphs
arm-linux-gnueabi-cpp -MT
arm-linux-gnueabi-cpp -I
arm-linux-gnueabi-cpp -include
arm-linux-gnueabi-cpp -finput-charset
arm-linux-gnueabi-cpp -fwide-exec-charset
arm-linux-gnueabi-cpp -isystem
arm-linux-gnueabi-cpp -iquote
arm-linux-gnueabi-cpp -M
arm-linux-gnueabi-cpp -idirafter
arm-linux-gnueabi-cpp -imacros
arm-linux-gnueabi-cpp -Wendif-labels
arm-linux-gnueabi-cpp -Wall
arm-linux-gnueabi-cpp -H
arm-linux-gnueabi-cpp -iwithprefix
arm-linux-gnueabi-cpp -dCHARS
arm-linux-gnueabi-cpp -A
arm-linux-gnueabi-cpp -ftabstop
arm-linux-gnueabi-cpp -o
arm-linux-gnueabi-cpp -isysroot
arm-linux-gnueabi-cpp -Wtraditional
arm-linux-gnueabi-cpp -Wsystem-headers
arm-linux-gnueabi-cpp -P
arm-linux-gnueabi-cpp -MF
arm-linux-gnueabi-cpp -fexec-charset
arm-linux-gnueabi-cpp -pedantic-errors
arm-linux-gnueabi-cpp -Wcomment
arm-linux-gnueabi-cpp -nostdinc
arm-linux-gnueabi-cpp -fno-show-column
arm-linux-gnueabi-cpp -fextended-identifiers
arm-linux-gnueabi-cpp -iprefix
arm-linux-gnueabi-cpp -Wundef
arm-linux-gnueabi-cpp -std
arm-linux-gnueabi-cpp -pedantic
arm-linux-gnueabi-cpp -version
arm-linux-gnueabi-cpp -MQ
arm-linux-gnueabi-cpp -v
arm-linux-gnueabi-cpp -traditional-cpp
arm-linux-gnueabi-cpp -undef
arm-linux-gnueabi-cpp -remap
arm-linux-gnueabi-cpp -imultilib
arm-linux-gnueabi-cpp -U
arm-linux-gnueabi-cpp -Werror
arm-linux-gnueabi-cpp -MMD
arm-linux-gnueabi-cpp -fdollars-in-identifiers
arm-linux-gnueabi-cpp -w
arm-linux-gnueabi-cpp -D
arm-linux-gnueabi-cpp -trigraphs

Powered by ExplainShell