+Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
+ -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
+ options. Also add a new item "C-only Warning Options" to the
+ option summary.
+
1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
from multiple calls.
+>>>>>>> 1.4674
Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
* i386.md (call value patterns): Move to the end of the file.
(struct rtvec_def): Likewise.
* tree.h (struct tree_common): Likewise.
+>>>>>>> 1.4673
Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
* configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
* fixincl/fixlib.h: protect against doubly defining t_bool
* fixincl/server.h: protect against doubly defining t_bool
+>>>>>>> 1.4648
Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
* genoutput.c: Include toplev.h.
@xref{Warning Options,,Options to Request or Suppress Warnings}.
@smallexample
-fsyntax-only -pedantic -pedantic-errors
--w -W -Wall -Waggregate-return -Wbad-function-cast
+-w -W -Wall -Waggregate-return
-Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment
-Wconversion -Werror -Wformat
-Wid-clash-@var{len} -Wimplicit -Wimplicit-int
-Werror-implicit-function-declaration -Wfloat-equal -Winline
-Wlarger-than-@var{len} -Wlong-long
-Wmain -Wmissing-declarations -Wmissing-noreturn
--Wmissing-prototypes -Wmultichar -Wnested-externs -Wno-import
+-Wmultichar -Wno-import
-Wparentheses -Wpointer-arith -Wredundant-decls
--Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes
--Wswitch -Wtraditional
+-Wreturn-type -Wshadow -Wsign-compare -Wswitch
-Wtrigraphs -Wundef -Wuninitialized -Wunknown-pragmas -Wunreachable-code
-Wunused -Wwrite-strings
@end smallexample
+@item C-only Warning Options
+@smallexample
+-Wbad-function-cast -Wmissing-prototypes -Wnested-externs
+-Wstrict-prototypes -Wtraditional
+@end smallexample
+
@item Debugging Options
@xref{Debugging Options,,Options for Debugging Your Program or GCC}.
@smallexample
@item -Wfloat-equal
Warn if floating point values are used in equality comparisons.
-@item -Wtraditional
+@item -Wtraditional (C only)
Warn about certain constructs that behave differently in traditional and
ANSI C.
convenience in calculations with @code{void *} pointers and pointers
to functions.
-@item -Wbad-function-cast
+@item -Wbad-function-cast (C only)
Warn whenever a function call is cast to a non-matching type.
For example, warn if @code{int malloc()} is cast to @code{anything *}.
called. (In languages where you can return an array, this also elicits
a warning.)
-@item -Wstrict-prototypes
+@item -Wstrict-prototypes (C only)
Warn if a function is declared or defined without specifying the
argument types. (An old-style function definition is permitted without
a warning if preceded by a declaration which specifies the argument
types.)
-@item -Wmissing-prototypes
+@item -Wmissing-prototypes (C only)
Warn if a global function is defined without a previous prototype
declaration. This warning is issued even if the definition itself
provides a prototype. The aim is to detect global functions that fail
Warn if anything is declared more than once in the same scope, even in
cases where multiple declaration is valid and changes nothing.
-@item -Wnested-externs
+@item -Wnested-externs (C only)
Warn if an @code{extern} declaration is encountered within a function.
@item -Wunreachable-code