summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 19:33:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 19:33:13 +0000
commit432ef29dd3d5a90938a70c993688ede00e8e61b7 (patch)
tree9392f1463a06a3e223d6204d4fbae42f6a712820 /gnu/usr.bin
parentb5dfa9bafe2373e4a079eb22b44982fd81d3227b (diff)
Don't make -Wall imply -Wchar-subscripts as that warning is just
plain stupid.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/c-decl.c1
-rw-r--r--gnu/usr.bin/gcc/gcc.110
2 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/gcc/c-decl.c b/gnu/usr.bin/gcc/c-decl.c
index 7688dd23d67..9c315eeef96 100644
--- a/gnu/usr.bin/gcc/c-decl.c
+++ b/gnu/usr.bin/gcc/c-decl.c
@@ -776,7 +776,6 @@ c_decode_option (p)
warn_unused = 1;
warn_switch = 1;
warn_format = 1;
- warn_char_subscripts = 1;
warn_parentheses = 1;
warn_missing_braces = 1;
/* We set this to 2 here, but 1 in -Wmain, so -ffreestanding can turn
diff --git a/gnu/usr.bin/gcc/gcc.1 b/gnu/usr.bin/gcc/gcc.1
index f707eed8d70..093e61ae81d 100644
--- a/gnu/usr.bin/gcc/gcc.1
+++ b/gnu/usr.bin/gcc/gcc.1
@@ -20,7 +20,7 @@
.if n .sp
.if t .sp 0.4
..
-.Id $OpenBSD: gcc.1,v 1.3 1998/03/07 18:47:21 millert Exp $
+.Id $OpenBSD: gcc.1,v 1.4 1998/03/07 19:33:12 millert Exp $
.TH GCC 1 "\*(Dt" "GNU Tools" "GNU Tools"
.SH NAME
gcc, g++ \- GNU project C and C++ Compiler (v2.7)
@@ -1870,9 +1870,11 @@ fully available (C++ only).
.B \-Wall
All of the above `\|\c
.B \-W\c
-\&\|' options combined. These are all the
-options which pertain to usage that we recommend avoiding and that we
-believe is easy to avoid, even in conjunction with macros.
+\&\|' options, with the exception of
+.B \-Wchar\-subscripts,
+combined. These are all the options which pertain to usage that
+we recommend avoiding and that we believe is easy to avoid, even
+in conjunction with macros.
.PP
The remaining `\|\c
.B \-W.\|.\|.\c