Changes between Initial Version and Version 2 of Ticket #12371


Ignore:
Timestamp:
Aug 8, 2016, 11:12:30 PM (6 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12371

    • Property Owner set to viboes
    • Property Status newassigned
    • Property Component Nonethread
  • Ticket #12371 – Description

    initial v2  
    11Upgrading from Boost 1.41 to 1.61. When compiling an application that uses boost thread library, I get the following errors:
    22
     3
     4{{{
    35/usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state<Rp, Fp>::init(const Fp&)’:
    46/usr/local/include/boost/thread/future.hpp:856: error: expected primary-expression before ‘(’ token
     
    79/usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state<Rp&, Fp>::init(const Fp&)’:
    810/usr/local/include/boost/thread/future.hpp:907: error: expected primary-expression before ‘(’ token
     11}}}
     12
    913
    1014Each of these lines is a call to the boost::thread constructor, but they are not prepended with the "boost::" namespace. Adding "boost::" to these three lines fixes the error.