[Boost-bugs] [Boost C++ Libraries] #4341: get_thread_info error

Subject: [Boost-bugs] [Boost C++ Libraries] #4341: get_thread_info error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-13 16:26:32


#4341: get_thread_info error
-------------------------------------+--------------------------------------
 Reporter: tonestone57@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: threads
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: get_thread_info |
-------------------------------------+--------------------------------------
 Compiling on Haiku with gcc 4.3.3 gives two errors with code below:

 From file:
 http://www.boost.org/doc/libs/1_38_0/boost/thread/detail/thread.hpp

 detail::thread_data_ptr get_thread_info() const;

 1)
 include/boost/thread/detail/thread.hpp:120: error: expected ';' before
 'const'

 2)
 include/boost/thread/detail/thread.hpp:120:49: error: macro
 "get_thread_info" requires 2 arguments, but only 1 given

 Haiku defines get_thread_info like this:
 http://haiku.it.su.se:8180/source/xref/headers/os/kernel/OS.h#348

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4341>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC