Download PathScale™ Compiler Suite User Guide

Transcript
F – eko man Page
-W[no-]format-security
(For C/C++ only) For –Wformat-security, if –Wformat, warn on potentially insecure
format functions.–Wfno–format-security, do not warn on potentially insecure format
functions.
-W[no-]id-clash
(For C/C++ only) –Wid-clash warns if two identifiers have the same first <num>
chars. –Wid-clash tells the compiler not to warn if two identifiers have the same first
<num> chars.
-W[no-]implicit
(For C/C++ only) –Wimplicit warns about implicit declarations of functions or
variables. –Wno–implicit tells the compiler not to warn about implicit declarations
of functions or variables.
-W[no-]implicit-function-declaration
(For C/C++ only) –Wimplicit-function-declaration warns when a function is used
before being declared. –Wimplicit-function-declaration tells the compiler not to warn
when a function is used before being declared.
-W[no-]implicit-int
(For C/C++ only) –Wimplicit-int warns when a declaration does not specify a type.
–Wno-implicit-int tells the compiler not to warn when a declaration does not specify
a type.
-W[no-]import
–Wimport warns about the use of the #import directive. –Wno–import tells the
compiler not to warn about the use of the #import directive.
-W[no-]inline
(For C/C++ only) –Winline warns if a function declared as inline cannot be inlined.
–Wno–inline tells the compiler not to warn if a function declared as inline cannot be
inlined.
-W[no-]larger-than-<number>
–Wlarger–than– warns if an object is larger than <number> bytes.
–Wno–larger–than– tells the compiler not to warn if an object is larger than
<number> bytes.
-W[no-]main
(For C/C++ only) –Wmain warns about suspicious declarations of main. –Wno–main
tells the compiler not warn about suspicious declarations of main.
-W[no-]missing-braces
(For C/C++ only) –Wmissing-braces warns about possibly missing braces around
initializers. –Wno–missing-braces tells the compiler not warn about possibly missing
braces around initializers.
F-51