git: bc7afab6a1fa - main - Fix compilation of bsnmp tests.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Oct 2024 08:23:49 UTC
The branch main has been updated by harti:
URL: https://cgit.FreeBSD.org/src/commit/?id=bc7afab6a1fa4294df0b8d7d461bd0bdc542fbfe
commit bc7afab6a1fa4294df0b8d7d461bd0bdc542fbfe
Author: Hartmut Brandt <harti@FreeBSD.org>
AuthorDate: 2024-10-14 08:16:03 +0000
Commit: Hartmut Brandt <harti@FreeBSD.org>
CommitDate: 2024-10-14 08:23:18 +0000
Fix compilation of bsnmp tests.
PR: 277539
Submitted by: John F. Carr
---
tools/test/bsnmp/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/test/bsnmp/Makefile b/tools/test/bsnmp/Makefile
index c3bcf832ff33..88bfcfd3c069 100644
--- a/tools/test/bsnmp/Makefile
+++ b/tools/test/bsnmp/Makefile
@@ -5,6 +5,7 @@ PROG_CXX=ctest
SRCS= main.cc asn1.cc snmp_parse_server.cc
CFLAGS += -I/${CONTRIB}/lib
CXXFLAGS+= -std=c++2a
+CXXWARNFLAGS += -Wno-missing-variable-declarations
LIBADD= bsnmp
CFLAGS += -DBOGUS_CVE_2019_5610_FIX