Changes between Initial Version and Version 1 of Ticket #7260


Ignore:
Timestamp:
Sep 18, 2012, 5:09:09 PM (10 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7260 – Description

    initial v1  
    33Consider this following simple app:
    44
     5
     6{{{
    57#include <boost/thread/thread.hpp>
    68
     
    2022
    2123}
     24}}}
     25
    2226
    2327 
     
    2529If you try to build that on Windows, you receive the following error:
    2630
     31
     32{{{
    2733In file included from c:/mingw/lib/gcc/../../x86_64-w64-mingw32/include/boost/thread/win32/recursive_mutex.hpp:14:0,
    2834
     
    4652
    4753c:/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}}}
    4855
    49  
    50 
    51  
    52 
    53  
    5456
    5557If 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.