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

This commit is contained in:
riastradh 2023-05-25 19:12:42 +00:00
parent 06e60785a0
commit 7c8b150a94
1 changed files with 3 additions and 2 deletions

View File

@ -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