From da635858a526e75936c13622baa93d2e23344daa Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 7 May 2003 14:28:18 +0200 Subject: [PATCH] invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option. * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option. From-SVN: r66556 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b932059cfa..ccb3fc1375c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-05-07 Gerald Pfeifer + + * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations + as a C only option. + 2003-05-07 Nathan Sidwell * gcov-io.h (GCOV_LOCKED): New #define. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 432b54cec64..a1fa753fc4d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2709,7 +2709,7 @@ declaration. This warning is issued even if the definition itself 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.