Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-12-07 17:52:45


Mark Ruzon wrote:
> I have an executable with two .cpp files, each of which includes a
> header file that in turn includes boost headers. When I link them
> (gcc 3.2.3)
> I am greeted with multiple definition errors on somewhat random
> symbols like '(anonymous namespace)::_1' (through _9) from bind...

This can be caused by precompiled headers not handling anonymous namespaces
correctly. You can use the following patch:

http://boost.cvs.sourceforge.net/boost/boost/boost/bind/placeholders.hpp?r1=1.13&r2=1.14

to fix that.


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