From 5b2f36ffae330961a43503db83114618e4667848 Mon Sep 17 00:00:00 2001 From: Naveen Albert Date: Thu, 23 Jan 2025 20:08:23 -0500 Subject: [PATCH] utils: Disable old style definition warnings for libdb. Newer versions of gcc now warn about old style definitions, such as those in libdb, which causes compilation failure with DEVMODE enabled. Ignore these warnings for libdb. Resolves: #1085 --- utils/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Makefile b/utils/Makefile index a17a3c1d39..c5958d396c 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -182,7 +182,7 @@ streamplayer: streamplayer.o CHECK_SUBDIR: # do nothing, just make sure that we recurse in the subdir/ db1-ast/libdb1.a: CHECK_SUBDIR - _ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a + _ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing -Wno-old-style-definition" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a astdb2sqlite3: LIBS+=$(SQLITE3_LIB) astdb2sqlite3: _ASTCFLAGS+=$(SQLITE3_INCLUDE)