Re: [Boost-bugs] [Boost C++ Libraries] #3244: XLC warnings about missing "private" keyword when extending boost::noncopyable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3244: XLC warnings about missing "private" keyword when extending boost::noncopyable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-20 11:20:49


#3244: XLC warnings about missing "private" keyword when extending
boost::noncopyable
----------------------------------------------------------+-----------------
 Reporter: Ioannis Papadopoulos <ipapadop@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: thread
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: mutex private noncopyable xlc warning |
----------------------------------------------------------+-----------------

Comment(by viboes):

 Replying to [ticket:3244 Ioannis Papadopoulos <ipapadop@…>]:
> xlc 10.1 throws warnings whenever boost::mutex and
 boost::recursive_mutex are used because of missing access specifier.
>
> Example output:
>
> "/usr/local/include/boost/thread/pthread/mutex.hpp", line 30.9:
 1540-0198 (W) The omitted keyword "private" is assumed for base class
 "boost::noncopyable".
 Could you show an example?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3244#comment:1>
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:01 UTC