[Boost-bugs] [Boost C++ Libraries] #10558: boost 1.56 and gcc.4.9.1 invalid use of incomplete type 'struct boost::detail::shared_state_base'

Subject: [Boost-bugs] [Boost C++ Libraries] #10558: boost 1.56 and gcc.4.9.1 invalid use of incomplete type 'struct boost::detail::shared_state_base'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-28 17:19:29


#10558: boost 1.56 and gcc.4.9.1 invalid use of incomplete type 'struct
boost::detail::shared_state_base'
--------------------------------------+----------------------
 Reporter: Richard PALO <richard@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
--------------------------------------+----------------------
 Trying a build with gcc4.9.1 in pkgsrc and am encountering the following:

 gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.9.1/release/threading-
 multi/pthread/thread.o
 libs/thread/src/pthread/thread.cpp: In destructor 'virtual
 boost::detail::thread_data_base::~thread_data_base()':
 libs/thread/src/pthread/thread.cpp:56:21: error: invalid use of incomplete
 type 'struct boost::detail::shared_state_base'
                  (*i)->make_ready();
                      ^
 In file included from ./boost/thread/thread_only.hpp:17:0,
                  from libs/thread/src/pthread/thread.cpp:11:
 ./boost/thread/pthread/thread_data.hpp:84:16: error: forward declaration
 of 'struct boost::detail::shared_state_base'
          struct shared_state_base;
                 ^
 In file included from ./boost/system/system_error.hpp:14:0,
                  from ./boost/thread/exceptions.hpp:22,
                  from ./boost/thread/pthread/thread_data.hpp:10,
                  from ./boost/thread/thread_only.hpp:17,
                  from libs/thread/src/pthread/thread.cpp:11:

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10558>
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:17 UTC