BIND 10 trac931_2, updated. ec6446047b5007290ca4d6d31e67239c424f33bb [trac931_2] make sure the workaround -Wno-unused-parameter follows -Wextra
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue May 24 07:16:14 UTC 2011
The branch, trac931_2 has been updated
via ec6446047b5007290ca4d6d31e67239c424f33bb (commit)
from 990a0cff9891fce08b3e163720dfa08fffdede5f (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 ec6446047b5007290ca4d6d31e67239c424f33bb
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue May 24 00:15:41 2011 -0700
[trac931_2] make sure the workaround -Wno-unused-parameter follows -Wextra
-----------------------------------------------------------------------
Summary of changes:
src/lib/config/tests/Makefile.am | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/config/tests/Makefile.am b/src/lib/config/tests/Makefile.am
index 52e3ae7..293f3ef 100644
--- a/src/lib/config/tests/Makefile.am
+++ b/src/lib/config/tests/Makefile.am
@@ -16,10 +16,13 @@ libfake_session_la_SOURCES = fake_session.h fake_session.cc
TESTS =
if HAVE_GTEST
-# We build this file with disabled warnings because of asio
+# We build this file with disabled warnings because of ASIO
lib_LTLIBRARIES += libasiobased.la
libasiobased_la_SOURCES = ccsession_unittests.cc
-libasiobased_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) -Wno-unused-parameter
+libasiobased_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
+# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
+# B10_CXXFLAGS)
+libasiobased_la_CXXFLAGS = $(AM_CXXFLAGS) -Wno-unused-parameter
libasiobased_la_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
TESTS += run_unittests
More information about the bind10-changes
mailing list