Changes between Initial Version and Version 2 of Ticket #12371
- Timestamp:
- Aug 8, 2016, 11:12:30 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12371
- Property Owner set to
- Property Status new → assigned
- Property Component None → thread
-
Ticket #12371 – Description
initial v2 1 1 Upgrading from Boost 1.41 to 1.61. When compiling an application that uses boost thread library, I get the following errors: 2 2 3 4 {{{ 3 5 /usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state<Rp, Fp>::init(const Fp&)’: 4 6 /usr/local/include/boost/thread/future.hpp:856: error: expected primary-expression before ‘(’ token … … 7 9 /usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state<Rp&, Fp>::init(const Fp&)’: 8 10 /usr/local/include/boost/thread/future.hpp:907: error: expected primary-expression before ‘(’ token 11 }}} 12 9 13 10 14 Each 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.