Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 7180 invoked from network); 5 Jun 2006 19:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2006 19:45:40 -0000 Received: (qmail 95504 invoked by uid 500); 5 Jun 2006 19:45:32 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 95438 invoked by uid 500); 5 Jun 2006 19:45:32 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 95255 invoked by uid 99); 5 Jun 2006 19:45:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 12:45:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 12:45:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6824671429F for ; Mon, 5 Jun 2006 19:44:31 +0000 (GMT) Message-ID: <11531739.1149536671423.JavaMail.jira@brutus> Date: Mon, 5 Jun 2006 19:44:31 +0000 (GMT+00:00) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-120) deque.cc and rw/_tree.cc std::rel_ops unfriendly In-Reply-To: <1247138716.1137447500126.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/STDCXX-120?page=3Dall ] Martin Sebor updated STDCXX-120: -------------------------------- Fix Version: 4.2 (was: 4.1.4) > deque.cc and rw/_tree.cc std::rel_ops unfriendly > ------------------------------------------------ > > Key: STDCXX-120 > URL: http://issues.apache.org/jira/browse/STDCXX-120 > Project: C++ Standard Library > Type: Bug > Components: 23. Containers > Versions: 4.1.3 > Environment: HP aCC 6.x, optimized > Reporter: Martin Sebor > Assignee: Martin Sebor > Fix For: 4.2 > > Compiling the following program with HP aCC 6.x with debugging iterators = disabled gives the errors below: > $ cat t.cpp && nice gmake t CPPOPTS=3D-D_RWSTD_NO_DEBUG_ITER > #include > #include > #include > using namespace std; > using namespace std::rel_ops; > template class std::deque; > template class std::map; > int main () { } > aCC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/build/sebor/aCC-6.0-15= S/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/../rw= test -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/= tests/include -D_RWSTD_NO_DEBUG_ITER -AA -g +d +DD64 +w +W392 +W655 +W684= +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 +W2401 +W2487 t.cpp > "/build/sebor/dev/stdlib/include/deque.cc", line 111: error #2350: more t= han one operator "!=3D" matches these operands: > function template "std::operator!=3D(const std::__rw_deque_it= er<_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_Typ= eT, _DiffT, _Ptr2, _Ref2, _Alloc> &)" > function template "std::rel_ops::operator!=3D(const _TypeT &,= const _TypeT &)" > operand types are: std::deque>::iter= ator !=3D std::deque>::iterator > _RWSTD_ASSERT (__it !=3D end ()); > ^ > detected during instantiation of "std::deque<_TypeT, _Allocator= >::iterator std::deque<_TypeT, _Allocator>::erase(std::deque<_TypeT, _Alloc= ator>::iterator) [with _TypeT=3Dint, _Allocator=3Dstd::allocator]"=20 > "/build/sebor/dev/stdlib/include/deque.cc", line 373: error #2350: more t= han one operator "!=3D" matches these operands: > function template "std::operator!=3D(const std::__rw_deque_it= er<_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_Typ= eT, _DiffT, _Ptr2, _Ref2, _Alloc> &)" > function template "std::rel_ops::operator!=3D(const _TypeT &,= const _TypeT &)" > operand types are: std::deque>::iter= ator !=3D const std::deque>::iterator > for (iterator __ix =3D begin (); __ix !=3D __end; ++__ix, --__n) { > ^ > detected during instantiation of "void std::deque<_TypeT, _Allo= cator>::_C_assign_n(std::deque<_TypeT, _Allocator>::size_type, std::deque<_= TypeT, _Allocator>::const_reference) [with _TypeT=3Dint, _Allocator=3Dstd::= allocator]"=20 > "/build/sebor/dev/stdlib/include/deque.cc", line 510: error #2350: more t= han one operator "!=3D" matches these operands: > function template "std::operator!=3D(const std::__rw_deque_it= er<_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_Typ= eT, _DiffT, _Ptr2, _Ref2, _Alloc> &)" > function template "std::rel_ops::operator!=3D(const _TypeT &,= const _TypeT &)" > operand types are: std::deque>::iter= ator !=3D const std::deque>::iterator > for (iterator __ix =3D __self->begin (); __ix !=3D __end; ++__ix, += +__first) { > ^ > detected during instantiation of "void std::deque<_TypeT, _Allo= cator>::_C_assign_range(_InputIter, _InputIter, std::input_iterator_tag) [w= ith _TypeT=3Dint, _Allocator=3Dstd::allocator, _InputIter=3Dstd::__rw_= deque_iter>::value_type, std::deque>::difference_type, std::deque>::const_pointer, std::deque>::const_reference, s= td::deque>::allocator_type>]"=20 > "/build/sebor/dev/stdlib/include/rw/_tree.cc", line 815: error #2350: mor= e than one operator "!=3D" matches these operands: > function template "__rw::operator!=3D(const __rw::__rw_tree_i= ter<_TypeT, _DiffT, _Ptr1, _Ref1, _Node> &, const __rw::__rw_tree_iter<_Typ= eT, _DiffT, _Ptr2, _Ref2, _Node> &)" > function template "std::rel_ops::operator!=3D(const _TypeT &,= const _TypeT &)" > operand types are: __rw::__rb_tree, std::allocator>>::key_type, std::map, std::allocator>>::value_ty= pe, __rw::__select1st, std::allocator>>::value_type, std::map, st= d::allocator>>::key_type>, std::map, std::allocator>>::key_compare, std::= map, std::allocator>>::a= llocator_type>::iterator !=3D __rw::__rb_tree, std::allocator>>::key_type, std::map, std::allocator>>::value_type,= __rw::__select1st, std::allocator>>::value_type, std::map, std::= allocator>>::key_type>, std::map, std::allocator>>::key_compare, std::map= , std::allocator>>::allo= cator_type>::iterator > for (__tmp =3D end (); __first !=3D __last; __tmp =3D erase (__= first++)); > ^ > detected during instantiation of "__rw::__rb_tree<_Key, _Val, _= KeyOf, _Comp, _Alloc>::iterator __rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, = _Alloc>::erase(__rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _Alloc>::iterator= , __rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _Alloc>::iterator) [with _Key= =3Dstd::map, std::allocator>>::key_type, _Val=3Dstd::map, std::allocator>>::value_type, _KeyOf=3D__rw::__select1st, std::allocator>>::valu= e_type, std::map, std::allocator>>::key_type>, _Comp=3Dstd::map, std::allo= cator>>::key_compare, _Alloc=3Dstd::map, std::allocator>>::allocator_type= ]"=20 > 4 errors detected in the compilation of "t.cpp". > gmake: *** [t.o] Error 2 --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira