BOOST_USE_WINDOWS_H and atomic ops in shared_ptr
I've been trying to purge windows.h includes from a project that uses Boost, but I see compile errors when I don't define BOOST_USE_WINDOWS_H (the included prototypes don't match prototypes defined elsewhere). This is building Boost 1.42.0 in VS2010.
Is this a known issue? Is it known to be fixed in a more current version? Am I doing something wrong?
I worked around the problem by creating an alternate set of #defines for the atomic ops, and including
participants (1)
-
Joseph Lunderville