diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/doc/invoke.texi | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b93205..ccb3fc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-05-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations + as a C only option. + 2003-05-07 Nathan Sidwell <nathan@codesourcery.com> * gcov-io.h (GCOV_LOCKED): New #define. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 432b54c..a1fa753 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. |
