Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto openssl: Note that -Wno-error=char-subscripts likely ...



details:   https://anonhg.NetBSD.org/src/rev/cec08c4fb26a
branches:  trunk
changeset: 376006:cec08c4fb26a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu May 25 19:12:42 2023 +0000

description:
openssl: Note that -Wno-error=char-subscripts likely masks real bugs.

diffstat:

 crypto/Makefile.openssl |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0942a79ed47e -r cec08c4fb26a crypto/Makefile.openssl
--- a/crypto/Makefile.openssl   Thu May 25 19:12:06 2023 +0000
+++ b/crypto/Makefile.openssl   Thu May 25 19:12:42 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.openssl,v 1.17 2023/05/25 19:12:06 riastradh Exp $
+#      $NetBSD: Makefile.openssl,v 1.18 2023/05/25 19:12:42 riastradh Exp $
 
 .ifndef _MAKEFILE_OPENSSL_INCLUDED
 _MAKEFILE_OPENSSL_INCLUDED=1
@@ -8,7 +8,8 @@ WARNS=3
 
 # would require changing a lot of code
 COPTS+= -Wno-error=cast-qual
-COPTS+= -Wno-error=missing-field-initializers -Wno-error=char-subscripts
+COPTS+= -Wno-error=char-subscripts # XXX likely real ctype(3) missing cast bugs
+COPTS+= -Wno-error=missing-field-initializers
 COPTS+= -Wno-error=shadow
 
 CWARNFLAGS.gcc+= -Wno-error=discarded-qualifiers



Home | Main Index | Thread Index | Old Index