ATF-log archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: #62: -Wunused-function error with check_equals in namespace with clang++
- Subject: Re: #62: -Wunused-function error with check_equals in namespace with clang++
- From: "atf trac notification" <nobody%julipedia.org@localhost>
- Date: Mon, 23 Aug 2010 02:58:32 -0000
#62: -Wunused-function error with check_equals in namespace with clang++
---------------------------------------------------+------------------------
Reporter: Garrett Cooper <gcooper@...> | Owner: jmmv
Type: defect | Status: new
Priority: minor | Milestone:
Component: MISC | Version:
Resolution: | Keywords:
---------------------------------------------------+------------------------
Comment (by Garrett Cooper <gcooper@...>):
Unfortunately this patch fails the linker stage >:( (I need to look into
this issue more):
atf-c++/.libs/libtest_helpers.a(test_helpers.o)(.text+0x0): In function
`std::vector<std::string, std::allocator<std::string> >::~vector()':
/usr/include/c++/4.2/bits/stl_vector.h:268: multiple definition of
`test_helpers_detail::check_equal(char const**, std::vector<std::string,
std::allocator<std::string> > const&)'
atf-c++/atf_c++_test.o(.text+0x0):/scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10/atf-c++/atf_c++_test.cpp:38:
first defined here
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1
Stop in
/scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
*** Error code 1
Stop in
/scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
*** Error code 1
--
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/62#comment:1>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework
Home |
Main Index |
Thread Index |
Old Index