|
Boost Users : |
From: Chris Weed (chrisweed_at_[hidden])
Date: 2007-01-31 19:40:39
Hi,
This has been fixed in CVS HEAD and future versions.
If you want to hack up the code, declare the function tuple_equal to be inline.
Chris
On 1/31/07, Tim Axelrod <taxelrod_at_[hidden]> wrote:
> Hello,
>
> If more than one source file includes boost/iterator/zip_iterator.hpp,
> the loader complains about a multiply defined function:
>
> tsa_at_[hidden]:~/VW/TSA> g++ -o nothing nothingMain.cc
> nothing.cc
> /tmp/ccT5Bn0N.o: In function
> `boost::detail::tuple_impl_specific::tuple_equal(boost::tuples::null_type,
> boost::tuples::null_type)':
> nothing.cc:(.text+0x0): multiple definition of
> `boost::detail::tuple_impl_specific::tuple_equal(boost::tuples::null_type,
> boost::tuples::null_type)'
> /tmp/ccH8Z9eR.o:nothingMain.cc:(.text+0x0): first defined here
> collect2: ld returned 1 exit status
>
>
> I'm using boost_1_33_1. The source files are attached.
>
> Regards,
> Tim Axelrod
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net