Silence compile warnings on external source (#13332)
* silence compile warnings * also silence from mqtt
Emmanuel Vasilakis committed
Jul 7, 2022 at 22:15 UTC
7f144682083bb334d38a527e7c9bd4bc736575eb
1 file changed
+6
-1
Makefile.am
+6
-1
@@ -260,7 +260,7 @@ ML_FILES += \
260
$(NULL)
261
262
# Disable warnings from dlib library
263
-ml/kmeans/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations
263
+ml/kmeans/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow
264
265
endif
266
@@ -474,6 +474,9 @@ RRD_PLUGIN_FILES = \
474
database/metric_correlations.h \
475
$(NULL)
476
477
+database/sqlite/sqlite3.$(OBJEXT) : CFLAGS += -Wno-cast-function-type
478
+database/KolmogorovSmirnovDist.$(OBJEXT) : CFLAGS += -Wno-maybe-uninitialized
479
+
480
if ENABLE_DBENGINE
481
RRD_PLUGIN_FILES += \
482
database/engine/rrdengine.c \
@@ -669,6 +672,8 @@ ACLK_FILES = \
672
aclk/schema-wrappers/schema_wrapper_utils.h \
673
$(NULL)
674
675
+mqtt_websockets/src/mqtt_wss_client.$(OBJEXT) : CFLAGS += -Wno-unused-result
676
+
677
ACLK_PROTO_DEFINITIONS = \
678
aclk/aclk-schemas/proto/aclk/v1/lib.proto \
679
aclk/aclk-schemas/proto/agent/v1/disconnect.proto \