summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/c-decl.c1
-rw-r--r--gnu/usr.bin/gcc/gcc.14
2 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/c-decl.c b/gnu/usr.bin/gcc/c-decl.c
index 5d38c1abffe..9691e7c423c 100644
--- a/gnu/usr.bin/gcc/c-decl.c
+++ b/gnu/usr.bin/gcc/c-decl.c
@@ -776,6 +776,7 @@ 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 d2b5b21576c..71327bdb125 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.5 1998/03/08 18:27:38 millert Exp $
+.Id $OpenBSD: gcc.1,v 1.6 1998/05/02 02:36:22 millert Exp $
.TH GCC 1 "\*(Dt" "GNU Tools" "GNU Tools"
.SH NAME
gcc, g++ \- GNU project C and C++ Compiler (v2.7)
@@ -182,7 +182,7 @@ in the following sections.
\-Waggregate\-return
\-Wcast\-align
\-Wcast\-qual
-\-Wchar\-subscript
+\-Wchar\-subscripts
\-Wcomment
\-Wconversion
\-Wenum\-clash