aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>2003-05-07 14:28:18 +0200
committerGerald Pfeifer <gerald@gcc.gnu.org>2003-05-07 12:28:18 +0000
commitda635858a526e75936c13622baa93d2e23344daa (patch)
tree6c62027ecded9e961656ceff6d7e9cbf3abcd8f3 /gcc
parent474f141e8d6c6808888ad42842c7cc179c6d3525 (diff)
downloadgcc-da635858a526e75936c13622baa93d2e23344daa.zip
gcc-da635858a526e75936c13622baa93d2e23344daa.tar.gz
gcc-da635858a526e75936c13622baa93d2e23344daa.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi2
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.