Boost logo

Boost Users :

From: Cory Nelson (phrosty_at_[hidden])
Date: 2005-09-03 21:10:37


I get a bunch of warnings from boost filesystem about
abi_prefix/suffix "alignment changed after including header, may be
due to missing #pragma pack(pop)".

But I'm getting one linker error from boost thread:
libboost_thread-vc80-mt-s-1_33.lib(once.obj) : error LNK2001:
unresolved external symbol _InterlockedCompareExchange

I changed compare_exchange's body in once.cpp from:
ice_wrapper(&InterlockedCompareExchange, dest, exch, cmp);

to:
return InterlockedCompareExchange(dest, exch, cmp);

and it worked.

-- 
Cory Nelson
http://www.int64.org

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