BIND 10 master, updated. 5a906f923ec419895fc398ba3dcdf64842164d14 [master] Changes to fix build under OS X/clang++

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Apr 18 13:48:44 UTC 2011


The branch, master has been updated
       via  5a906f923ec419895fc398ba3dcdf64842164d14 (commit)
      from  6ffefafd958806769b56e1e5972eab62b87a1135 (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 5a906f923ec419895fc398ba3dcdf64842164d14
Author: Stephen Morris <stephen at isc.org>
Date:   Mon Apr 18 06:47:56 2011 -0700

    [master] Changes to fix build under OS X/clang++
    
    Changes were reviewed and approved in the Jabber room.

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

Summary of changes:
 tests/tools/badpacket/Makefile.am |    5 +++++
 tests/tools/badpacket/scan.cc     |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/tools/badpacket/Makefile.am b/tests/tools/badpacket/Makefile.am
index b249f0e..7df7077 100644
--- a/tests/tools/badpacket/Makefile.am
+++ b/tests/tools/badpacket/Makefile.am
@@ -20,6 +20,11 @@ badpacket_SOURCES += option_info.cc option_info.h
 badpacket_SOURCES += scan.cc scan.h
 badpacket_SOURCES += version.h
 
+badpacket_CXXFLAGS = $(AM_CXXFLAGS)
+if USE_CLANGPP
+badpacket_CXXFLAGS += -Wno-error
+endif
+
 badpacket_LDADD  = $(top_builddir)/src/lib/asiodns/libasiodns.la
 badpacket_LDADD += $(top_builddir)/src/lib/dns/libdns++.la
 badpacket_LDADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
diff --git a/tests/tools/badpacket/scan.cc b/tests/tools/badpacket/scan.cc
index 7b843b4..9e9f726 100644
--- a/tests/tools/badpacket/scan.cc
+++ b/tests/tools/badpacket/scan.cc
@@ -19,6 +19,8 @@
 
 #include <stdlib.h>
 
+#include <config.h>
+
 #include <asio.hpp>
 
 #include <asiolink/io_address.h>




More information about the bind10-changes mailing list