Boost logo

Boost Users :

From: Vladimir Suhoy (big_moloch_at_[hidden])
Date: 2004-02-24 11:42:11


I have linker errors using bind placeholders.
The problem is when it is used in more than one .cpp file, and precompiled
headers are on (as usual - created in stdafx.cpp and used in other modules)
the linker says following:

error LNK2005: "class boost::arg<1> `anonymous namespace'::_1"
(?_1@?A0x51895292@@3V?$arg@$00_at_boost@@A) already defined in jc.obj

When precompiled headers are off, everything works right.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


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