Source-Changes-HG archive

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

[src/trunk]: src/crypto enable (and disable) warnings centrally



details:   https://anonhg.NetBSD.org/src/rev/e6e235df74d8
branches:  trunk
changeset: 375868:e6e235df74d8
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 17 19:10:04 2023 +0000

description:
enable (and disable) warnings centrally

diffstat:

 crypto/Makefile.openssl |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6cc2dc6a7552 -r e6e235df74d8 crypto/Makefile.openssl
--- a/crypto/Makefile.openssl   Wed May 17 19:09:41 2023 +0000
+++ b/crypto/Makefile.openssl   Wed May 17 19:10:04 2023 +0000
@@ -1,9 +1,14 @@
-#      $NetBSD: Makefile.openssl,v 1.13 2023/05/07 16:24:28 christos Exp $
+#      $NetBSD: Makefile.openssl,v 1.14 2023/05/17 19:10:04 christos Exp $
 
 .ifndef _MAKEFILE_OPENSSL_INCLUDED
 _MAKEFILE_OPENSSL_INCLUDED=1
 
 .include <bsd.own.mk>
+WARNS=3
+# would require changing a lot of code
+COPTS+= -Wno-error=cast-qual -Wno-error=discarded-qualifiers
+COPTS+= -Wno-error=missing-field-initializers -Wno-error=char-subscripts
+
 
 .if ${HAVE_OPENSSL} <= 11
 OSSL_ENGINESDIR=/usr/lib/openssl



Home | Main Index | Thread Index | Old Index