Boost logo

Boost :

From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2003-09-18 09:49:47

Rodolfo Lima wrote:
> I'm using lambda in my project and I'm getting the following linker
> errors:
> stdafx.obj : error LNK2005: "class lambda_functor<struct
> boost::lambda::placeholder<1> >::boost::lambda_functor<struct
> boost::lambda::placeholder<1> > const & const
> boost::lambda::`anonymous namespace'::_1"
> da_at_boost@@@23_at_B) already defined in Alloc.obj

Unless I'm mistaken, this occurs as a result of putting boost (lambda)
header files in the precompiled header. Try building your code without
PCH,or moving boost::lambda out of the PCH and see if that helps.


Boost list run by bdawes at, gregod at, cpdaniel at, john at