Opened 12 years ago
#5477 new Bugs
xlC 6.0 - ptr_vector error
Reported by: | Owned by: | Thorsten Ottosen | |
---|---|---|---|
Milestone: | To Be Determined | Component: | ptr_container |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Testcase