invoke.texi (259558) | invoke.texi (259920) |
---|---|
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 --- 208 unchanged lines hidden (view full) --- 217-Wimport -Wno-import -Winit-self -Winline @gol 218-Wno-int-to-pointer-cast @gol 219-Wno-invalid-offsetof -Winvalid-pch @gol 220-Wlarger-than-@var{len} -Wframe-larger-than-@var{len} @gol 221-Wunsafe-loop-optimizations -Wlong-long @gol 222-Wmain -Wmissing-braces -Wmissing-field-initializers @gol 223-Wmissing-format-attribute -Wmissing-include-dirs @gol 224-Wmissing-noreturn @gol | 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 --- 208 unchanged lines hidden (view full) --- 217-Wimport -Wno-import -Winit-self -Winline @gol 218-Wno-int-to-pointer-cast @gol 219-Wno-invalid-offsetof -Winvalid-pch @gol 220-Wlarger-than-@var{len} -Wframe-larger-than-@var{len} @gol 221-Wunsafe-loop-optimizations -Wlong-long @gol 222-Wmain -Wmissing-braces -Wmissing-field-initializers @gol 223-Wmissing-format-attribute -Wmissing-include-dirs @gol 224-Wmissing-noreturn @gol |
225@c APPLE LOCAL -Wmost 226-Wmost (APPLE ONLY) @gol |
|
225-Wno-multichar -Wnonnull -Wno-overflow @gol 226-Woverlength-strings -Wpacked -Wpadded @gol 227-Wparentheses -Wpointer-arith -Wno-pointer-to-int-cast @gol 228-Wredundant-decls @gol 229-Wreturn-type -Wsequence-point -Wshadow @gol 230-Wsign-compare -Wstack-protector @gol 231-Wstrict-aliasing -Wstrict-aliasing=2 @gol 232-Wstrict-overflow -Wstrict-overflow=@var{n} @gol --- 2414 unchanged lines hidden (view full) --- 2647 2648@item -Wall 2649@opindex Wall 2650All of the above @samp{-W} options combined. This enables all the 2651warnings about constructions that some users consider questionable, and 2652that are easy to avoid (or modify to prevent the warning), even in 2653conjunction with macros. This also enables some language-specific 2654warnings described in @ref{C++ Dialect Options}. | 227-Wno-multichar -Wnonnull -Wno-overflow @gol 228-Woverlength-strings -Wpacked -Wpadded @gol 229-Wparentheses -Wpointer-arith -Wno-pointer-to-int-cast @gol 230-Wredundant-decls @gol 231-Wreturn-type -Wsequence-point -Wshadow @gol 232-Wsign-compare -Wstack-protector @gol 233-Wstrict-aliasing -Wstrict-aliasing=2 @gol 234-Wstrict-overflow -Wstrict-overflow=@var{n} @gol --- 2414 unchanged lines hidden (view full) --- 2649 2650@item -Wall 2651@opindex Wall 2652All of the above @samp{-W} options combined. This enables all the 2653warnings about constructions that some users consider questionable, and 2654that are easy to avoid (or modify to prevent the warning), even in 2655conjunction with macros. This also enables some language-specific 2656warnings described in @ref{C++ Dialect Options}. |
2657@c APPLE LOCAL begin -Wmost 2658@item -Wmost 2659@opindex Wmost 2660This is equivalent to -Wall -Wno-parentheses. (Apple compatible) |
|
2655@end table | 2661@end table |
2662@c APPLE LOCAL end -Wmost |
|
2656 2657The following @option{-W@dots{}} options are not implied by @option{-Wall}. 2658Some of them warn about constructions that users generally do not 2659consider questionable, but which occasionally you might wish to check 2660for; others warn about constructions that are necessary or hard to avoid 2661in some cases, and there is no simple way to modify the code to suppress 2662the warning. 2663 --- 11387 unchanged lines hidden --- | 2663 2664The following @option{-W@dots{}} options are not implied by @option{-Wall}. 2665Some of them warn about constructions that users generally do not 2666consider questionable, but which occasionally you might wish to check 2667for; others warn about constructions that are necessary or hard to avoid 2668in some cases, and there is no simple way to modify the code to suppress 2669the warning. 2670 --- 11387 unchanged lines hidden --- |