@cryptotaxi247 / netdata-1 / commits / 76564aaef

Suppress H2O compilation warnings (#15378)

* Suppress H2O compilation warnings * Fix typo * Update flags * Another fix typo * Flags update once more * Remove duplicate flag * Move flag

Stelios Fragkakis committed Jul 18, 2023 at 12:40 UTC 76564aaeffc6c2080a10df9fbca4fedf202aa73b
2 files changed +2 -2
Makefile.am
+1 -1
@@ -1059,7 +1059,7 @@ if ENABLE_H2O
1059 noinst_LIBRARIES += libh2o.a
1060
1061 # until h2o updates support for OpenSSL 3.0 we silence the warnings
1062 -libh2o_a_CFLAGS = $(CFLAGS) -Wno-deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DH2O_USE_LIBUV=0 $(libh2o_a_INCLUDES)
1062 +libh2o_a_CFLAGS = $(CFLAGS) -Wno-old-style-declaration -Wno-deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DH2O_USE_LIBUV=0 $(libh2o_a_INCLUDES)
1063
1064 if LINUX
1065 libh2o_a_CFLAGS += -D_GNU_SOURCE
configure.ac
+1 -1
@@ -908,7 +908,7 @@ if test "${enable_h2o}" != "no"; then
908
909 if test "${can_build_h2o}" = "yes"; then
910 AC_DEFINE([ENABLE_H2O], [1], [H2O web server])
911 - H2O_CFLAGS="-I\$(abs_top_srcdir)/web/server/h2o/libh2o/include -I\$(abs_top_srcdir)/web/server/h2o/libh2o/deps/picotls/include -I\$(abs_top_srcdir)/web/server/h2o/libh2o/deps/quicly/include -DH2O_USE_LIBUV=0"
911 + H2O_CFLAGS="-Wno-unused-result -Wno-misleading-indentation -Wno-format-security -Wno-format -Wno-unused-function -Wno-unused-parameter -Wno-type-limits -Wno-unused-but-set-variable -Wno-implicit-fallthrough -I\$(abs_top_srcdir)/web/server/h2o/libh2o/include -I\$(abs_top_srcdir)/web/server/h2o/libh2o/deps/picotls/include -I\$(abs_top_srcdir)/web/server/h2o/libh2o/deps/quicly/include -DH2O_USE_LIBUV=0"
912 fi
913 fi
914 AM_CONDITIONAL([ENABLE_H2O], [test "${can_build_h2o}" = "yes"])