BIND 10 #2673: some build related issues in dhcp
BIND 10 Development
do-not-reply at isc.org
Wed Jan 30 18:25:51 UTC 2013
#2673: some build related issues in dhcp
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | stephen
Priority: medium | Status:
Component: dhcp | assigned
Keywords: | Milestone:
Sensitive: 0 | Sprint-DHCP-20130214
Sub-Project: DHCP | Resolution:
Estimated Difficulty: 0 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Changes (by tomek):
* owner: => stephen
* status: new => assigned
Comment:
I just created branch and pushed changes. Unfortunately, the code does not
build using clang on my machine. The first error is:
{{{
make[6]: Wejście do katalogu
`/home/thomson/devel/bind10/src/lib/server_common/tests'
CXX run_unittests-run_unittests.o
CXX run_unittests-client_unittest.o
CXX run_unittests-portconfig_unittest.o
CXX run_unittests-keyring_test.o
CXX run_unittests-socket_requestor_test.o
client_unittest.cc:66:5: error: template argument uses unnamed type
[-Werror,-Wunnamed-type-template-args]
EXPECT_EQ(IPPROTO_UDP,
client4->getRequestSourceEndpoint().getProtocol());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/thomson/devel/gtest-1.6.0/include/gtest/gtest.h:1847:23: note:
expanded from:
EXPECT_PRED_FORMAT2(::testing::internal:: \
^
/home/thomson/devel/gtest-1.6.0/include/gtest/gtest_pred_impl.h:162:23:
note: expanded from:
GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
^
/home/thomson/devel/gtest-1.6.0/include/gtest/gtest_pred_impl.h:147:17:
note: expanded from:
GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2),\
^
/home/thomson/devel/gtest-1.6.0/include/gtest/gtest_pred_impl.h:77:52:
note: expanded from:
if (const ::testing::AssertionResult gtest_ar = (expression)) \
^~~~~~~~~~
/usr/include/netinet/in.h:32:1: note: unnamed type used in template
argument was declared here
enum
^
}}}
Many (around 10 screens) of similar errors follow. I used clang++ 3.0,
which is the standard version available in Ubuntu 12.04 64 bit.
Reassigning to Stephen as agreed over Jabber.
--
Ticket URL: <http://bind10.isc.org/ticket/2673#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list