This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PR/7484] PATCH: doc/invoke.texi

As a "regular" user, today I noticed that our documentation concerning
-Wmissing-declarations is not complete.

Gaby already fixed part of that with

  2002-10-09  Gabriel Dos Reis  <>

        PR doc/7484
        * doc/invoke.texi (Option Summary): List
        -Wmissing-declarations as a C only option.

but the following is still needed, as far as I can see.

Applied to mainline and queued for 3.3.1.


2003-05-07  Gerald Pfeifer  <>

	* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
	as a C only option.

Index: doc/invoke.texi
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.271
diff -u -3 -p -r1.271 invoke.texi
--- doc/invoke.texi	29 Apr 2003 20:45:55 -0000	1.271
+++ doc/invoke.texi	7 May 2003 12:19:58 -0000
@@ -2709,7 +2709,7 @@ declaration.  This warning is issued eve
 provides a prototype.  The aim is to detect global functions that fail
 to be declared in header files.

-@item -Wmissing-declarations
+@item -Wmissing-declarations @r{(C only)}
 @opindex Wmissing-declarations
 Warn if a global function is defined without a previous declaration.
 Do so even if the definition itself provides a prototype.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]