Compier errors on QueueUserAPC occur in Boost.asio with VC7.1.
The QueueUserAPC is declareted in winbase.h with #if guard. The API is suppoeted by _WIN32_WINDOWS over 0x0400.
Compier errors on QueueUserAPC occur in Boost.asio with VC7.1.
The QueueUserAPC is declareted in winbase.h with #if guard. The API is suppoeted by _WIN32_WINDOWS over 0x0400.
Studying Working Draft of C++0x (n2857), I am waiting for implementations based on the C++0x standard.
On compiling test.exe as release module, many errors like the following occur:
error LNK2005: "struct check_is_small_t::boost::check_is_small_t boost::test_tools::`anonymous namespace'::check_is_small"
These erors are not occur as debug mode.
I found the information on problem of Boost with VC7.1, here(Boost-users ML)
I followed the information. When I turned pre-compiled header option off, the errors are cleared.
Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...