Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 37417 invoked from network); 21 Feb 2007 09:45:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 09:45:27 -0000 Received: (qmail 87736 invoked by uid 500); 21 Feb 2007 09:45:35 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 87682 invoked by uid 500); 21 Feb 2007 09:45:35 -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 87668 invoked by uid 99); 21 Feb 2007 09:45:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 01:45:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 01:45:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9649C7141A2 for ; Wed, 21 Feb 2007 01:45:05 -0800 (PST) Message-ID: <16365113.1172051105612.JavaMail.jira@brutus> Date: Wed, 21 Feb 2007 01:45:05 -0800 (PST) From: "Farid Zaripov (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Resolved: (STDCXX-341) [MSVC 7.1] tests/23.vector.modifiers.cpp fails to compile In-Reply-To: <22104747.1172034905874.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov resolved STDCXX-341. ---------------------------------- Resolution: Fixed Fixed thus: http://svn.apache.org/viewvc?view=rev&rev=509951 > [MSVC 7.1] tests/23.vector.modifiers.cpp fails to compile > --------------------------------------------------------- > > Key: STDCXX-341 > URL: https://issues.apache.org/jira/browse/STDCXX-341 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Environment: MSVC 7.1 > Reporter: Farid Zaripov > Fix For: 4.2 > > > The test 23.vector.modifiers fails to compile with MSVC 7.1: > ------ Build started: Project: 23.vector.modifiers, Configuration: 11s Debug Static Win32 ------ > Compiling... > 23.vector.modifiers.cpp > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(325) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1029): could be 'ConstFwdIter make_iter(const T *,const T *,const T *,ConstFwdIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1010): or 'FwdIter make_iter(T *,const T *,const T *,FwdIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstFwdIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(567) : see reference to function template instantiation 'void test_insert(int,const Iterator &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' being compiled > with > [ > Iterator=ConstFwdIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1181) : see reference to function template instantiation 'void test_insert_range>(const Iterator &)' being compiled > with > [ > T=X, > Iterator=ConstFwdIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(328) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1029): could be 'ConstFwdIter make_iter(const T *,const T *,const T *,ConstFwdIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1010): or 'FwdIter make_iter(T *,const T *,const T *,FwdIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstFwdIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(325) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1067): could be 'ConstBidirIter make_iter(const T *,const T *,const T *,ConstBidirIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1048): or 'BidirIter make_iter(T *,const T *,const T *,BidirIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstBidirIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(567) : see reference to function template instantiation 'void test_insert(int,const Iterator &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' being compiled > with > [ > Iterator=ConstBidirIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1189) : see reference to function template instantiation 'void test_insert_range>(const Iterator &)' being compiled > with > [ > T=X, > Iterator=ConstBidirIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(328) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1067): could be 'ConstBidirIter make_iter(const T *,const T *,const T *,ConstBidirIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1048): or 'BidirIter make_iter(T *,const T *,const T *,BidirIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstBidirIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(325) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1105): could be 'ConstRandomAccessIter make_iter(const T *,const T *,const T *,ConstRandomAccessIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1086): or 'RandomAccessIter make_iter(T *,const T *,const T *,RandomAccessIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstRandomAccessIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(567) : see reference to function template instantiation 'void test_insert(int,const Iterator &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' being compiled > with > [ > Iterator=ConstRandomAccessIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1197) : see reference to function template instantiation 'void test_insert_range>(const Iterator &)' being compiled > with > [ > T=X, > Iterator=ConstRandomAccessIter > ] > \stdcxx_working\tests\containers\23.vector.modifiers.cpp(328) : error C2666: 'make_iter' : 2 overloads have similar conversions > C:\stdcxx_working\tests\include\alg_test.h(1105): could be 'ConstRandomAccessIter make_iter(const T *,const T *,const T *,ConstRandomAccessIter)' > with > [ > T=X > ] > C:\stdcxx_working\tests\include\alg_test.h(1086): or 'RandomAccessIter make_iter(T *,const T *,const T *,RandomAccessIter)' > with > [ > T=X > ] > while trying to match the argument list '(X *const , X *const , X *const , const ConstRandomAccessIter)' > with > [ > T=X > ] > note: qualification adjustment (const/volatile) may be causing the ambiguity > Build log was saved at "file://C:\stdcxx_working\build\msvc-7.1\11s\tests\23.vector.modifiers\BuildLog.htm" > 23.vector.modifiers - 6 error(s), 0 warning(s) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.