aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2002-10-08 22:24:14 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2002-10-08 22:24:14 +0000
commit87ec8de9e77db04c5f5abde6cdbabb0337816142 (patch)
treeb9ebce68bfc5f6fb3fe2bd45c3db876d4b77400a /gcc
parentfb7d9c35dbaf2ee7b5da0e70bd3dd635384f9516 (diff)
downloadgcc-87ec8de9e77db04c5f5abde6cdbabb0337816142.zip
gcc-87ec8de9e77db04c5f5abde6cdbabb0337816142.tar.gz
gcc-87ec8de9e77db04c5f5abde6cdbabb0337816142.tar.bz2
re PR c++/7484 (warning with -Wmissing-declarations)
PR doc/7484 * doc/invoke.texi (Option Summary): List -Wmissing-declarations as a C only option. From-SVN: r57958
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 148ec8a..dbe5cfd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ PR doc/7484
+ * doc/invoke.texi (Option Summary): List
+ -Wmissing-declarations as a C only option.
+
2002-10-08 Jakub Jelinek <jakub@redhat.com>
* config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 51c6546..2fdbb50 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -222,7 +222,7 @@ in the following sections.
-Werror-implicit-function-declaration @gol
-Wimport -Winline -Wno-endif-labels @gol
-Wlarger-than-@var{len} -Wlong-long @gol
--Wmain -Wmissing-braces -Wmissing-declarations @gol
+-Wmain -Wmissing-braces @gol
-Wmissing-format-attribute -Wmissing-noreturn @gol
-Wno-multichar -Wno-format-extra-args -Wno-format-y2k @gol
-Wno-import -Wnonnull -Wpacked -Wpadded @gol
@@ -236,8 +236,8 @@ in the following sections.
@item C-only Warning Options
@gccoptlist{
--Wbad-function-cast -Wmissing-prototypes -Wnested-externs @gol
--Wstrict-prototypes -Wtraditional}
+-Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes @gol
+-Wnested-externs -Wstrict-prototypes -Wtraditional}
@item Debugging Options
@xref{Debugging Options,,Options for Debugging Your Program or GCC}.