BIND 10 master, updated. 3430cd41631b026665fe7b01bd12740e2fee9d9b [master] Added comment about unused-parameter warning disabling for clang.

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jun 13 12:26:26 UTC 2012


The branch, master has been updated
       via  3430cd41631b026665fe7b01bd12740e2fee9d9b (commit)
      from  1a5ac34c532df175935d88d0c4a117ed36ca311b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3430cd41631b026665fe7b01bd12740e2fee9d9b
Author: Marcin Siodelski <marcin at isc.org>
Date:   Wed Jun 13 14:02:43 2012 +0200

    [master] Added comment about unused-parameter warning disabling for clang.
    
    Adding such comments was discussed and agreed on jabber with Jinmei.

-----------------------------------------------------------------------

Summary of changes:
 src/bin/dhcp4/Makefile.am              |    2 ++
 src/bin/dhcp4/tests/Makefile.am        |    2 ++
 src/bin/dhcp6/Makefile.am              |    2 ++
 src/bin/dhcp6/tests/Makefile.am        |    2 ++
 src/lib/dhcp/Makefile.am               |    2 ++
 src/lib/dhcp/tests/Makefile.am         |    3 ++-
 tests/tools/perfdhcp/Makefile.am       |    2 ++
 tests/tools/perfdhcp/tests/Makefile.am |    2 ++
 8 files changed, 16 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/Makefile.am b/src/bin/dhcp4/Makefile.am
index 8c804d6..704642f 100644
--- a/src/bin/dhcp4/Makefile.am
+++ b/src/bin/dhcp4/Makefile.am
@@ -33,6 +33,8 @@ pkglibexec_PROGRAMS = b10-dhcp4
 b10_dhcp4_SOURCES = main.cc dhcp4_srv.cc dhcp4_srv.h
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 b10_dhcp4_CXXFLAGS = -Wno-unused-parameter
 endif
 
diff --git a/src/bin/dhcp4/tests/Makefile.am b/src/bin/dhcp4/tests/Makefile.am
index 187e01b..07de393 100644
--- a/src/bin/dhcp4/tests/Makefile.am
+++ b/src/bin/dhcp4/tests/Makefile.am
@@ -48,6 +48,8 @@ dhcp4_unittests_SOURCES += dhcp4_unittests.cc
 dhcp4_unittests_SOURCES += dhcp4_srv_unittest.cc
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 dhcp4_unittests_CXXFLAGS = -Wno-unused-parameter
 endif
 
diff --git a/src/bin/dhcp6/Makefile.am b/src/bin/dhcp6/Makefile.am
index 7da8207..16b17ed 100644
--- a/src/bin/dhcp6/Makefile.am
+++ b/src/bin/dhcp6/Makefile.am
@@ -35,6 +35,8 @@ pkglibexec_PROGRAMS = b10-dhcp6
 b10_dhcp6_SOURCES = main.cc dhcp6_srv.cc dhcp6_srv.h
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 b10_dhcp6_CXXFLAGS = -Wno-unused-parameter
 endif
 
diff --git a/src/bin/dhcp6/tests/Makefile.am b/src/bin/dhcp6/tests/Makefile.am
index ee98049..c1a8f3c 100644
--- a/src/bin/dhcp6/tests/Makefile.am
+++ b/src/bin/dhcp6/tests/Makefile.am
@@ -44,6 +44,8 @@ dhcp6_unittests_SOURCES += dhcp6_unittests.cc
 dhcp6_unittests_SOURCES += dhcp6_srv_unittest.cc
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 dhcp6_unittests_CXXFLAGS = -Wno-unused-parameter
 endif
 
diff --git a/src/lib/dhcp/Makefile.am b/src/lib/dhcp/Makefile.am
index 05b863e..dc1545b 100644
--- a/src/lib/dhcp/Makefile.am
+++ b/src/lib/dhcp/Makefile.am
@@ -39,5 +39,7 @@ libdhcp___la_LIBADD  += $(top_builddir)/src/lib/util/libutil.la
 libdhcp___la_LDFLAGS  = -no-undefined -version-info 1:0:0
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 libdhcp___la_CXXFLAGS += -Wno-unused-parameter
 endif
diff --git a/src/lib/dhcp/tests/Makefile.am b/src/lib/dhcp/tests/Makefile.am
index 20f7125..4c86ee7 100644
--- a/src/lib/dhcp/tests/Makefile.am
+++ b/src/lib/dhcp/tests/Makefile.am
@@ -44,7 +44,8 @@ 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 boost::posix_time.
+# 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  = $(GTEST_LDADD)
diff --git a/tests/tools/perfdhcp/Makefile.am b/tests/tools/perfdhcp/Makefile.am
index 6b3ea24..6ebc00f 100644
--- a/tests/tools/perfdhcp/Makefile.am
+++ b/tests/tools/perfdhcp/Makefile.am
@@ -27,6 +27,8 @@ libperfdhcp___la_SOURCES += pkt_transform.cc pkt_transform.h
 
 libperfdhcp___la_CXXFLAGS = $(AM_CXXFLAGS)
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 libperfdhcp___la_CXXFLAGS += -Wno-unused-parameter
 endif
 
diff --git a/tests/tools/perfdhcp/tests/Makefile.am b/tests/tools/perfdhcp/tests/Makefile.am
index 3147fea..d4034b3 100644
--- a/tests/tools/perfdhcp/tests/Makefile.am
+++ b/tests/tools/perfdhcp/tests/Makefile.am
@@ -27,6 +27,8 @@ run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
 run_unittests_LDFLAGS  = $(AM_LDFLAGS)  $(GTEST_LDFLAGS)
 
 if USE_CLANGPP
+# Disable unused parameter warning caused by some of the
+# Boost headers when compiling with clang.
 run_unittests_CXXFLAGS = -Wno-unused-parameter
 endif
 



More information about the bind10-changes mailing list