1@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2@c 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3@c This is part of the GCC manual. 4@c For copying conditions, see the file gcc.texi. 5 6@ignore 7@c man begin INCLUDE 8@include gcc-vers.texi --- 216 unchanged lines hidden (view full) --- 225-Wreturn-type -Wsequence-point -Wshadow @gol 226-Wsign-compare -Wstack-protector @gol 227-Wstrict-aliasing -Wstrict-aliasing=2 @gol 228-Wstrict-overflow -Wstrict-overflow=@var{n} @gol 229-Wswitch -Wswitch-default -Wswitch-enum @gol 230-Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol 231-Wunknown-pragmas -Wno-pragmas -Wunreachable-code @gol 232-Wunused -Wunused-function -Wunused-label -Wunused-parameter @gol |
233-Wunused-value -Wunused-variable @gol 234-Wvariadic-macros -Wvla @gol |
235-Wvolatile-register-var -Wwrite-strings} 236 237@item C-only Warning Options 238@gccoptlist{-Wbad-function-cast -Wmissing-declarations @gol 239-Wmissing-prototypes -Wnested-externs -Wold-style-definition @gol 240-Wstrict-prototypes -Wtraditional @gol 241-Wdeclaration-after-statement -Wpointer-sign} 242 --- 2954 unchanged lines hidden (view full) --- 3197 3198@item -Wvariadic-macros 3199@opindex Wvariadic-macros 3200@opindex Wno-variadic-macros 3201Warn if variadic macros are used in pedantic ISO C90 mode, or the GNU 3202alternate syntax when in pedantic ISO C99 mode. This is default. 3203To inhibit the warning messages, use @option{-Wno-variadic-macros}. 3204 |
3205@item -Wvla 3206@opindex Wvla 3207@opindex Wno-vla 3208Warn if variable length array is used in the code. 3209@option{-Wno-vla} will prevent the @option{-pedantic} warning of 3210the variable length array. 3211 |
3212@item -Wvolatile-register-var 3213@opindex Wvolatile-register-var 3214@opindex Wno-volatile-register-var 3215Warn if a register variable is declared volatile. The volatile 3216modifier does not inhibit all optimizations that may eliminate reads 3217and/or writes to register variables. 3218 3219@item -Wdisabled-optimization --- 10641 unchanged lines hidden --- |