From d101b9b7f6d5e0742d453d3ff976b4b2be1d73e0 Mon Sep 17 00:00:00 2001 From: vkalintiris Date: Wed, 3 Nov 2021 09:20:19 +0200 Subject: Disable C++ warnings from dlib library. (#11738) --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 0cc3111aa3..0fef853e1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -241,6 +241,7 @@ ML_FILES = \ $(NULL) if ENABLE_ML + ML_FILES += \ ml/BitBufferCounter.h \ ml/BitBufferCounter.cc \ @@ -264,8 +265,13 @@ ML_FILES += \ ml/ml.cc \ ml/ml-private.h \ $(NULL) + +# Disable warnings from dlib library +ml/kmeans/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits + endif + if ENABLE_ML_TESTS ML_TESTS_FILES = \ ml/kmeans/Tests.cc \ -- cgit v1.2.3