
gdb | 179
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-Wreturn-type
Warn about functions defined without return types or with
improper return types.
-Wshadow
Warn when a local variable shadows another local variable.
-Wstrict-prototypes
Insist that argument types be specified in function declara-
tions and definitions.
-Wswitch
Warn about switches that skip the index for one of their
enumerated types.
-Wtraditional
Warn when encountering code that produces different results
in ANSI C and traditional C.
-Wtrigraphs
Warn when encountering trigraphs.
-Wuninitialized
Warn when encountering uninitialized automatic variables.
-Wundef
Warn when encountering a nonmacro identifier in an #if
directive.
-Wunknown-pragmas
Warn when encountering a #pragma directive not under-
stood by gcc.
-Wunused
Warn about unused variables, functions, labels, and
parameters.
Pragma directives
#pragma interface [header-file]
Used in header files to force object files to provide definition
information via references instead of including it locally in
each file. C++-specific.
#pragma implementation [header-file]
Used in main input files to force generation of full output from
header-file (or, if it is not specified, from the header file with
the same basename as the file containing the pragma direc-
tive). This information will be globally visible. Normally the
specified ...