From b6298b06d1d52af683d29b5590b7d9c51905fba7 Mon Sep 17 00:00:00 2001
From: Robert Butora <robert.butora@inaf.it>
Date: Tue, 15 Nov 2022 19:50:19 +0100
Subject: [PATCH] silences warning from tango about deprecated binary_functions

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3019eeb..2c24490 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,8 @@ CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs -DHAVE_
 LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \
 	-lsoci_core -lsoci_mysql -lmariadbclient -lboost_system -lboost_thread \
 	-lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread
-INC_PARM=$(foreach d, $(INC_DIR), -I$d)
+INC_NO_WARNINGS=-isystem /usr/local/tango/include/tango
+INC_PARM=$(foreach d, $(INC_DIR), -I$d) $(INC_NO_WARNINGS)
 LIB_PARM=$(foreach d, $(LIB_DIR), -L$d)
 PROTOC :=/usr/bin/protoc
 #================================================================================
-- 
GitLab