Boost logo

Boost Users :

From: Leslie Brody \(TT\) (leslie.brody_at_[hidden])
Date: 2007-01-17 18:01:33


When compiling boost 1.33.1 with Visual Studio 2005 SP1 for 64 bit AMD
on windows I get the following error.

once.obj : error LNK2019: unresolved external symbol
_InterlockedCompareExchange referenced in function "long __cdecl
`anonymous namespace'::compare_exchange(long * volatile,long,long)"
(?compare_exchange@?A0x74ecc88f@@YAJREAJJJ_at_Z)

>From what I have seen this works in multiple other projects. This also
works if I use that header in a new isolated project. I am assuming it
is some compiler setting. But I am not sure which.

Any thoughts are greatly appreciated

Thank You

-Leslie



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