summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-07-02 11:00:26 +0200
committerFrancis Dupont <fdupont@isc.org>2016-07-02 11:00:26 +0200
commit85c17ea952115ab8c5efd6c199afc039ba17e910 (patch)
tree2ebdc24892b3afc185d658a2511234093e0b54b0 /src/lib/dhcp
parent[4283] Updated INSTALL file to explicitly mention dependencies. (diff)
downloadkea-85c17ea952115ab8c5efd6c199afc039ba17e910.tar.xz
kea-85c17ea952115ab8c5efd6c199afc039ba17e910.zip
[4283] Moved clang and missing initializer -Wno-* to improved/fixed configure
Diffstat (limited to 'src/lib/dhcp')
-rw-r--r--src/lib/dhcp/Makefile.am12
-rw-r--r--src/lib/dhcp/tests/Makefile.am12
2 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/dhcp/Makefile.am b/src/lib/dhcp/Makefile.am
index 72c4083545..ccdb74b2ab 100644
--- a/src/lib/dhcp/Makefile.am
+++ b/src/lib/dhcp/Makefile.am
@@ -4,12 +4,6 @@ AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
AM_CXXFLAGS = $(KEA_CXXFLAGS)
-# Some versions of GCC warn about some versions of Boost regarding
-# missing initializer for members in its posix_time.
-# https://svn.boost.org/trac/boost/ticket/3477
-# But older GCC compilers don't have the flag.
-AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
-
CLEANFILES = *.gcno *.gcda
lib_LTLIBRARIES = libkea-dhcp++.la
@@ -113,9 +107,3 @@ libkea_dhcp___include_HEADERS = \
pkt_filter_lpf.h \
protocol_util.h \
std_option_defs.h
-
-if USE_CLANGPP
-# Disable unused parameter warning caused by some of the
-# Boost headers when compiling with clang.
-libkea_dhcp___la_CXXFLAGS += -Wno-unused-parameter
-endif
diff --git a/src/lib/dhcp/tests/Makefile.am b/src/lib/dhcp/tests/Makefile.am
index 05928bd7e6..c0c584e712 100644
--- a/src/lib/dhcp/tests/Makefile.am
+++ b/src/lib/dhcp/tests/Makefile.am
@@ -7,12 +7,6 @@ AM_CPPFLAGS += -DINSTALL_PROG=\"$(abs_top_srcdir)/install-sh\"
AM_CXXFLAGS = $(KEA_CXXFLAGS)
-# Some versions of GCC warn about some versions of Boost regarding
-# missing initializer for members in its posix_time.
-# https://svn.boost.org/trac/boost/ticket/3477
-# But older GCC compilers don't have the flag.
-AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
-
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
@@ -102,12 +96,6 @@ libdhcp___unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
libdhcp___unittests_LDFLAGS = $(AM_LDFLAGS) $(CRYPTO_LDFLAGS) $(GTEST_LDFLAGS)
libdhcp___unittests_CXXFLAGS = $(AM_CXXFLAGS)
-if USE_CLANGPP
-# This is to workaround unused variables tcout and tcerr in
-# log4cplus's streams.h and unused parameters from some of the
-# Boost headers.
-libdhcp___unittests_CXXFLAGS += -Wno-unused-variable -Wno-unused-parameter
-endif
libdhcp___unittests_LDADD = $(top_builddir)/src/lib/dhcp/libkea-dhcp++.la
libdhcp___unittests_LDADD += $(top_builddir)/src/lib/asiolink/libkea-asiolink.la