
Hi; When using boost with visual c++ 2005, I'm getting the following two error: c:\program files\microsoft visual studio 8\vc\include\intrin.h(198) : error C2373: '_InterlockedExchange' : redefinition; different type modifiers c:\program files\boost\boost\detail\interlocked.hpp(60) : see declaration of '_InterlockedExchange' Has anyone got any ideas what is causing this? I'm including the following files in the file that is indicating the error: #include <vector> #include <boost/algorithm/string.hpp> #include <boost/array.hpp> #include <boost/filesystem/path.hpp> #include <boost/foreach.hpp> #include <windows.h> #include <psapi.h> #include <ole2.h> #include <exdisp.h> #include <mshtml.h> #include "O2ServerImpl.h" #include "Globals.h" //Crypto++ remove as necessary. #include <default.h> #include <filters.h> #include <hex.h> #include <md5.h> #include <ripemd.h> #include <rng.h> #include <gzip.h> #include <randpool.h> #include <ida.h> #include <base64.h> #include <factory.h> #include <whrlpool.h> #include <tiger.h> any help appreciated. Sean.