1 Feb 2007 01:40
Re: problem with boost/iterator/zip_iterator.hpp
Chris Weed <chrisweed <at> gmail.com>
2007-02-01 00:40:39 GMT
2007-02-01 00:40:39 GMT
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> gmail.com> wrote: > Hello, > > If more than one source file includes boost/iterator/zip_iterator.hpp, > the loader complains about a multiply defined function: > > tsa <at> mops2.lsstcorp.org:~/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 > > > _______________________________________________(Continue reading)
RSS Feed