Subject: [Boost-bugs] [Boost C++ Libraries] #10920: Boost error from XlC11. 01 using BOOST 1.53 in union
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-09 06:26:05
#10920: Boost error from XlC11. 01 using BOOST 1.53 in union
------------------------------+---------------------------
Reporter: devika.rs@⦠| Owner: barendgehrels
Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
Version: Boost 1.53.0 | Severity: Problem
Keywords: Union on XlC11.1 |
------------------------------+---------------------------
Hi All,
We are trying to compile sample boost code to demonstrate union on Aix64:
Testcase:
http://www.boost.org/doc/libs/1_55_0/libs/geometry/doc/html/geometry/reference/algorithms/union_.html
Following are the details of compiler
Xlc Version:Version: 11.01.0000.0011
OS version:6100-06-05-1115
Boost version:1.53
It throws errors:
"/usr/vacpp/include/vector.t", line 163.36: 1540-0716 (S) The template
argument
"std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::mod..."
does not match the template parameter "template class Container".
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "_Ucopy".
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "class
std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,snps_boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::allocator>,std::allocator<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model:...".
"/usr/vacpp/include/vector.t", line 163.36: 1540-1174 (S) The member
"template pointer _Ucopy(_It, _It, pointer)" is not declared as a template
in its containing class definition.
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "_Ucopy".
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "class
std::vector<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::allocator>,std::allocator<boost_1_53_0::geometry::model::ring<boost_1_53_0::geometry::model::d2::point_xy<double,snps_boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::allocator>
> >".
"/boost/boost/geometry/geometries/polygon.hpp", line 69.7: 1540-0700 (I)
The previous message was produced while processing "class
boost_1_53_0::geometry::model::polygon<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::vector,std::allocator,std::allocator>".
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "main()".
"/usr/vacpp/include/vector.t", line 163.36: 1540-0716 (S) The template
argument
"std::vector<boost_1_53_0::geometry::model::polygon<snps_boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::polygon<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::polygon<boost_1_53_0::geom..."
does not match the template parameter "template class PointList".
"/usr/vacpp/include/vector.t", line 163.36: 1540-0700 (I) The previous
message was produced while processing "_Ucopy".
"/usr/vacpp/include/vector.t", line 163.36: 1540-0700 (I) The previous
message was produced while processing "class
std::vector<boost_1_53_0::geometry::model::polygon<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector<boost_1_53_0::geometry::model::polygon<snps_boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::vector,std::allocator,std::allocator>,std::allocator<boost_1_53_0::geometry::model::polygon...".
"/remote/ports/aix/xlcpp11_1_aix53/usr/vacpp/include/vector.t", line
163.36: 1540-1174 (S) The member "template pointer _Ucopy(_It, _It,
pointer)" is not declared as a template in its containing class
definition.
"test.cpp", line 25.26: 1540-0700 (I) The previous message was produced
while processing "_Ucopy".
"test.cpp", line 25.26: 1540-0700 (I) The previous message was produced
while processing "class
std::vector<boost_1_53_0::geometry::model::polygon<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::vector,std::allocator,std::allocator>,std::allocator<boost_1_53_0::geometry::model::polygon<boost_1_53_0::geometry::model::d2::point_xy<double,boost_1_53_0::geometry::cs::cartesian>,1,1,std::vector,std::vector,std::allocator,std::allocator>
> >".
"test.cpp", line 12.5: 1540-0700 (I) The previous message was produced
while processing "main()".
Is this a known bug ?
Please help us in case a patch is available.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10920> 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