Boost C++ Libraries: Ticket #3244: XLC warnings about missing "private" keyword when extending boost::noncopyable https://svn.boost.org/trac10/ticket/3244 <p> xlc 10.1 throws warnings whenever boost::mutex and boost::recursive_mutex are used because of missing access specifier. </p> <p> Example output: </p> <p> "/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". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3244 Trac 1.4.3 viboes Fri, 20 Nov 2009 11:20:48 GMT <link>https://svn.boost.org/trac10/ticket/3244#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3244#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3244" title="#3244: Patches: XLC warnings about missing &#34;private&#34; keyword when extending ... (closed: fixed)">Ioannis Papadopoulos &lt;ipapadop@…&gt;</a>: </p> <blockquote class="citation"> <p> xlc 10.1 throws warnings whenever boost::mutex and boost::recursive_mutex are used because of missing access specifier. </p> <p> Example output: </p> <p> "/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". </p> </blockquote> <p> Could you show an example? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 08 Jun 2010 22:02:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3244#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3244#comment:2</guid> <description> <p> Following the update to follow more closely C++0X delete operation, instead of inheriting from boost::noncopyable, we can replace by the explicit private constructors </p> <blockquote> <p> private: </p> <blockquote> <p> mutex(mutex const&amp;); mutex&amp; operator=(mutex const&amp;); </p> </blockquote> </blockquote> <p> See attachments. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 08 Jun 2010 22:24:32 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/3244 https://svn.boost.org/trac10/ticket/3244 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">3244.patch</span> </li> </ul> Ticket viboes Tue, 08 Jun 2010 23:11:05 GMT attachment set https://svn.boost.org/trac10/ticket/3244 https://svn.boost.org/trac10/ticket/3244 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">3244_2.patch</span> </li> </ul> <p> Correct issue with thread_group default constructor on 4344.patch </p> Ticket viboes Tue, 08 Jun 2010 23:12:28 GMT <link>https://svn.boost.org/trac10/ticket/3244#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3244#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/3244#comment:2" title="Comment 2">viboes</a>: </p> <blockquote class="citation"> <p> See attachments. </p> </blockquote> <p> Take 3244_2.patch, 3244.patch has a bug on thread_group default constructor. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 09 Jun 2010 01:02:01 GMT</pubDate> <title>type changed https://svn.boost.org/trac10/ticket/3244#comment:4 https://svn.boost.org/trac10/ticket/3244#comment:4 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket Anthony Williams Wed, 09 Jun 2010 06:58:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3244#comment:5 https://svn.boost.org/trac10/ticket/3244#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk. </p> Ticket