Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 67308 invoked from network); 16 Jan 2006 21:38:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jan 2006 21:38:42 -0000 Received: (qmail 32853 invoked by uid 500); 16 Jan 2006 21:38:42 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 32837 invoked by uid 500); 16 Jan 2006 21:38:41 -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 32826 invoked by uid 99); 16 Jan 2006 21:38:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 13:38:41 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1F730E1 for ; Mon, 16 Jan 2006 22:38:20 +0100 (CET) Message-ID: <1247138716.1137447500126.JavaMail.jira@ajax.apache.org> Date: Mon, 16 Jan 2006 22:38:20 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-120) deque.cc and rw/_tree.cc std::rel_ops unfriendly 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 deque.cc and rw/_tree.cc std::rel_ops unfriendly ------------------------------------------------ Key: STDCXX-120 URL: http://issues.apache.org/jira/browse/STDCXX-120 Project: STDCXX Type: Bug Components: 23. Containers =20 Versions: 4.1.3 =20 Environment: HP aCC 6.x, optimized Reporter: Martin Sebor Assigned to: Martin Sebor=20 Fix For: 4.1.4 Compiling the following program with HP aCC 6.x with debugging iterators di= sabled 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-15S/= include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/../rwte= st -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/te= sts/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 tha= n one operator "!=3D" matches these operands: function template "std::operator!=3D(const std::__rw_deque_iter= <_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_TypeT= , _DiffT, _Ptr2, _Ref2, _Alloc> &)" function template "std::rel_ops::operator!=3D(const _TypeT &, c= onst _TypeT &)" operand types are: std::deque>::iterat= or !=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, _Allocat= or>::iterator) [with _TypeT=3Dint, _Allocator=3Dstd::allocator]"=20 "/build/sebor/dev/stdlib/include/deque.cc", line 373: error #2350: more tha= n one operator "!=3D" matches these operands: function template "std::operator!=3D(const std::__rw_deque_iter= <_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_TypeT= , _DiffT, _Ptr2, _Ref2, _Alloc> &)" function template "std::rel_ops::operator!=3D(const _TypeT &, c= onst _TypeT &)" operand types are: std::deque>::iterat= or !=3D const std::deque>::iterator for (iterator __ix =3D begin (); __ix !=3D __end; ++__ix, --__n) { ^ detected during instantiation of "void std::deque<_TypeT, _Alloca= tor>::_C_assign_n(std::deque<_TypeT, _Allocator>::size_type, std::deque<_Ty= peT, _Allocator>::const_reference) [with _TypeT=3Dint, _Allocator=3Dstd::al= locator]"=20 "/build/sebor/dev/stdlib/include/deque.cc", line 510: error #2350: more tha= n one operator "!=3D" matches these operands: function template "std::operator!=3D(const std::__rw_deque_iter= <_TypeT, _DiffT, _Ptr1, _Ref1, _Alloc> &, const std::__rw_deque_iter<_TypeT= , _DiffT, _Ptr2, _Ref2, _Alloc> &)" function template "std::rel_ops::operator!=3D(const _TypeT &, c= onst _TypeT &)" operand types are: std::deque>::iterat= or !=3D const std::deque>::iterator for (iterator __ix =3D __self->begin (); __ix !=3D __end; ++__ix, ++_= _first) { ^ detected during instantiation of "void std::deque<_TypeT, _Alloca= tor>::_C_assign_range(_InputIter, _InputIter, std::input_iterator_tag) [wit= h _TypeT=3Dint, _Allocator=3Dstd::allocator, _InputIter=3Dstd::__rw_de= que_iter>::value_type, std::deque>::difference_type, std::deque>= ::const_pointer, std::deque>::const_reference, std= ::deque>::allocator_type>]"=20 "/build/sebor/dev/stdlib/include/rw/_tree.cc", line 815: error #2350: more = than one operator "!=3D" matches these operands: function template "__rw::operator!=3D(const __rw::__rw_tree_ite= r<_TypeT, _DiffT, _Ptr1, _Ref1, _Node> &, const __rw::__rw_tree_iter<_TypeT= , _DiffT, _Ptr2, _Ref2, _Node> &)" function template "std::rel_ops::operator!=3D(const _TypeT &, c= onst _TypeT &)" operand types are: __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::ma= p, std::allocator>>::all= ocator_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::al= locator>>::key_type>, std::map, std::allocator>>::key_compare, std::map, std::allocator>>::alloca= tor_type>::iterator for (__tmp =3D end (); __first !=3D __last; __tmp =3D erase (__fi= rst++)); ^ detected during instantiation of "__rw::__rb_tree<_Key, _Val, _Ke= yOf, _Comp, _Alloc>::iterator __rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _A= lloc>::erase(__rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _Alloc>::iterator, = __rw::__rb_tree<_Key, _Val, _KeyOf, _Comp, _Alloc>::iterator) [with _Key=3D= std::map, std::allocator= >>::key_type, _Val=3Dstd::map, std::allocator>>::value_type, _KeyOf=3D__rw::__select1st, std::allocator>>::value_t= ype, std::map, std::allocator>>::key_type>, _Comp=3Dstd::map, std::allocat= or>>::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