id summary reporter owner description type status milestone component version severity resolution keywords cc 6908 Compile error due to unprotected definitions of _WIN32_WINNT and WINVER dnave@… viboes "Environment: Visual Studio 9 on Windows 7 SP1 64-bit (compiling for 32-bit) Boost versions: at least 1.47.0, up to trunk libs/thread/src/win32/thread.cpp defines _WIN32_WINNT and WINVER outside of #ifndef/#endif, leading to a macro redefinition that results in a compile error when _WIN32_IE is set to something other than 0x0600. Specifically, this error prevents compiling Boost.Threads when defining WINVER=_WIN32_WINNT=0x0601 for Windows 7, with _WIN32_IE=0x0700. Suggested solutions: Unless there is some technical reason for redefining them locally, these macros should either not be defined, or should be protected by #ifndef/#endif pairs." Bugs closed Boost 1.50.0 thread Boost Development Trunk Problem fixed Boost.Thread, msvc, compile error, WINVER, _WIN32_WINNT, _WIN32_IE