[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-stdcxx-dev
Subject: [jira] Resolved: (STDCXX-341) [MSVC 7.1]
From: "Farid Zaripov (JIRA)" <jira () apache ! org>
Date: 2007-02-21 9:45:05
Message-ID: 16365113.1172051105612.JavaMail.jira () brutus
[Download RAW message or body]
[ 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<T> \
> make_iter<X>(const T *,const T *,const T *,ConstFwdIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1010): or 'FwdIter<T> \
> make_iter<X>(T *,const T *,const T *,FwdIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstFwdIter<T>)' 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<Iterator>(int,const Iterator \
> &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' \
> being compiled with
> [
> Iterator=ConstFwdIter<X>
> ]
> \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1181) : see reference to \
> function template instantiation 'void test_insert_range<ConstFwdIter<T>>(const \
> Iterator &)' being compiled with
> [
> T=X,
> Iterator=ConstFwdIter<X>
> ]
> \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<T> \
> make_iter<X>(const T *,const T *,const T *,ConstFwdIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1010): or 'FwdIter<T> \
> make_iter<X>(T *,const T *,const T *,FwdIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstFwdIter<T>)' 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<T> \
> make_iter<X>(const T *,const T *,const T *,ConstBidirIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1048): or 'BidirIter<T> \
> make_iter<X>(T *,const T *,const T *,BidirIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstBidirIter<T>)' 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<Iterator>(int,const Iterator \
> &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' \
> being compiled with
> [
> Iterator=ConstBidirIter<X>
> ]
> \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1189) : see reference to \
> function template instantiation 'void test_insert_range<ConstBidirIter<T>>(const \
> Iterator &)' being compiled with
> [
> T=X,
> Iterator=ConstBidirIter<X>
> ]
> \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<T> \
> make_iter<X>(const T *,const T *,const T *,ConstBidirIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1048): or 'BidirIter<T> \
> make_iter<X>(T *,const T *,const T *,BidirIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstBidirIter<T>)' 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<T> make_iter<X>(const T *,const T *,const T \
> *,ConstRandomAccessIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1086): or 'RandomAccessIter<T> \
> make_iter<X>(T *,const T *,const T *,RandomAccessIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstRandomAccessIter<T>)' 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<Iterator>(int,const Iterator \
> &,int,const char *,size_t,size_t,int,const char *,size_t,const char *,size_t)' \
> being compiled with
> [
> Iterator=ConstRandomAccessIter<X>
> ]
> \stdcxx_working\tests\containers\23.vector.modifiers.cpp(1197) : see reference to \
> function template instantiation 'void \
> test_insert_range<ConstRandomAccessIter<T>>(const Iterator &)' being compiled with
> [
> T=X,
> Iterator=ConstRandomAccessIter<X>
> ]
> \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<T> make_iter<X>(const T *,const T *,const T \
> *,ConstRandomAccessIter<T>)' with
> [
> T=X
> ]
> C:\stdcxx_working\tests\include\alg_test.h(1086): or 'RandomAccessIter<T> \
> make_iter<X>(T *,const T *,const T *,RandomAccessIter<T>)' with
> [
> T=X
> ]
> while trying to match the argument list '(X *const , X *const , X *const , const \
> ConstRandomAccessIter<T>)' 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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic