[Boost-bugs] [Boost C++ Libraries] #5477: xlC 6.0 - ptr_vector error

Subject: [Boost-bugs] [Boost C++ Libraries] #5477: xlC 6.0 - ptr_vector error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-15 11:39:21


#5477: xlC 6.0 - ptr_vector error
----------------------------------+-----------------------------------------
 Reporter: radha.nitt@… | Owner: nesotto
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: ptr_container
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 Hi,

 The attached testcase fails on xlC 6.0 but compiles well on xlC 9.0

 xlC 6.0
 % xlC -qversion
 C for AIX version 6.0.0.0
 % xlC -q64 -I../3rd_party/boost/1_40_0 boost_ptr_vec.cpp
 "boost_ptr_vec.cpp", line 5.16: 1540-0198 (W) The omitted keyword
 "private" is assumed for base class "boost::noncopyable".
 "../3rd_party/boost/1_40_0/boost/ptr_container/ptr_vector.hpp", line 45.9:
 1540-0400 (S) "boost::ptr_vector::release" has a conflicting declaration.
 "../3rd_party/boost/1_40_0/boost/ptr_container/ptr_vector.hpp", line 45.9:
 1540-0425 (I) "release" is defined on line 45 of
 "../3rd_party/boost/1_40_0/boost/ptr_container/ptr_vector.hpp".

 xlC 9.0:
 % xlC -qversion
 IBM XL C/C++ Enterprise Edition for AIX, V9.0
 Version: 09.00.0000.0012
 xlC -q64 -I/remote/sesnightly/p4/depot/cats/31/3rd_party/boost/1_40_0
 boost_ptr_vec.cpp
 "boost_ptr_vec.cpp", line 5.16: 1540-0198 (W) The omitted keyword
 "private" is assumed for base class "boost::noncopyable".

 Is there any patch to make it work on xlC 6.0?

 Thanks,
 Radha

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