Changes between Initial Version and Version 8 of Ticket #4878


Ignore:
Timestamp:
Aug 15, 2012, 9:02:22 PM (10 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4878

    • Property Cc admin@… added
  • Ticket #4878 – Description

    initial v8  
    11test.cpp:
     2
     3{{{
    24#include <boost/thread.hpp>
    35int main()
     
    68                boost::posix_time::milliseconds(50) );
    79}
     10}}}
    811
     12
     13
     14{{{
    915g++ -lboost_thread-mt:
    1016In file included from C:/boost/include/boost-1_45_0/boost/thread/win32/thread_data.hpp:12:0,
     
    1824C:\DOCUME~1\ADMINI~1\USTAWI~1\Temp\ccW8Zsal.o:test.cpp:(.text$_ZN5boost11this_thread18interruptible_waitERKNS_10posix_time5ptimeE[boost::this_thread::interruptible_wait(boost::posix_time::ptime const&)]+0x37): undefined reference to `_imp___ZN5boost11this_thread18interruptible_waitEPvNS_6detail7timeoutE'
    1925collect2: ld returned 1 exit status
     26}}}
     27
    2028
    2129I have fixed this, but I do not know, if it is the right way:
    2230boost/thread/detail/config.hpp line 40:
     31
     32{{{
    2333#       if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) || \
    2434                ( __GNUC__ >= 4 && __GNUC_MINOR >= 5 )
     35}}}
     36
    2537
    2638This fix gets rid of the link error, and the earlier warning.