BIND 10 master, updated. 0cc21b601f0ef1e907deaf3dbf02813ec2e0f493 [master] add no-error exception for clang in asiolink tests

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Feb 14 16:56:42 UTC 2011


The branch, master has been updated
       via  0cc21b601f0ef1e907deaf3dbf02813ec2e0f493 (commit)
      from  afc4be09c37272fdadecbe8496b2579ef4cf3e42 (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 0cc21b601f0ef1e907deaf3dbf02813ec2e0f493
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Feb 14 17:55:39 2011 +0100

    [master] add no-error exception for clang in asiolink tests
    
    The test directory now contains test files that used to be in internal/ (where the makefile did have this addition)

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

Summary of changes:
 src/lib/asiolink/Makefile.am       |    1 -
 src/lib/asiolink/tests/Makefile.am |    4 ++++
 2 files changed, 4 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/Makefile.am b/src/lib/asiolink/Makefile.am
index d52e54f..868fde5 100644
--- a/src/lib/asiolink/Makefile.am
+++ b/src/lib/asiolink/Makefile.am
@@ -30,7 +30,6 @@ libasiolink_la_SOURCES += udp_server.h udp_server.cc
 libasiolink_la_SOURCES += udp_query.h udp_query.cc
 libasiolink_la_SOURCES += tcp_endpoint.h tcp_socket.h
 libasiolink_la_SOURCES += tcp_server.h tcp_server.cc
-libasiolink_la_SOURCES += coroutine.h
 # Note: the ordering matters: -Wno-... must follow -Wextra (defined in
 # B10_CXXFLAGS)
 libasiolink_la_CXXFLAGS = $(AM_CXXFLAGS)
diff --git a/src/lib/asiolink/tests/Makefile.am b/src/lib/asiolink/tests/Makefile.am
index fe87050..7fe268e 100644
--- a/src/lib/asiolink/tests/Makefile.am
+++ b/src/lib/asiolink/tests/Makefile.am
@@ -39,6 +39,10 @@ run_unittests_CXXFLAGS = $(AM_CXXFLAGS)
 if USE_GXX
 run_unittests_CXXFLAGS += -Wno-unused-parameter
 endif
+if USE_CLANGPP
+# Same for clang++, but we need to turn off -Werror completely.
+run_unittests_CXXFLAGS += -Wno-error
+endif
 endif
 
 noinst_PROGRAMS = $(TESTS)




More information about the bind10-changes mailing list