Changes between Initial Version and Version 1 of Ticket #7260
- Timestamp:
- Sep 18, 2012, 5:09:09 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7260 – Description
initial v1 3 3 Consider this following simple app: 4 4 5 6 {{{ 5 7 #include <boost/thread/thread.hpp> 6 8 … … 20 22 21 23 } 24 }}} 25 22 26 23 27 … … 25 29 If you try to build that on Windows, you receive the following error: 26 30 31 32 {{{ 27 33 In file included from c:/mingw/lib/gcc/../../x86_64-w64-mingw32/include/boost/thread/win32/recursive_mutex.hpp:14:0, 28 34 … … 46 52 47 53 c:/mingw/lib/gcc/../../x86_64-w64-mingw32/include/boost/thread/win32/basic_recursive_mutex.hpp:102:21: error: '_InterlockedExchange' is not a member of 'boost::detail' 54 }}} 48 55 49 50 51 52 53 54 56 55 57 If asio.hpp is moved ahead of the thread headers, the error goes away. We’ve been trying to dictate #include order to work around this problem, but it keeps cropping up.