Source-Changes-HG archive

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

[src/trunk]: src/crypto Make "shadow" warnings non-fatal for now (triggered b...



details:   https://anonhg.NetBSD.org/src/rev/7159b870add5
branches:  trunk
changeset: 375878:7159b870add5
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 18 12:01:58 2023 +0000

description:
Make "shadow" warnings non-fatal for now (triggered by lots BN_* macros).

diffstat:

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

diffs (17 lines):

diff -r eb2172406507 -r 7159b870add5 crypto/Makefile.openssl
--- a/crypto/Makefile.openssl   Thu May 18 08:09:28 2023 +0000
+++ b/crypto/Makefile.openssl   Thu May 18 12:01:58 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.openssl,v 1.14 2023/05/17 19:10:04 christos Exp $
+#      $NetBSD: Makefile.openssl,v 1.15 2023/05/18 12:01:58 martin Exp $
 
 .ifndef _MAKEFILE_OPENSSL_INCLUDED
 _MAKEFILE_OPENSSL_INCLUDED=1
@@ -8,6 +8,7 @@ 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
+COPTS+= -Wno-error=shadow
 
 
 .if ${HAVE_OPENSSL} <= 11



Home | Main Index | Thread Index | Old Index