0_0_36700724_4591.cpp: In function 'void calc()':
0_0_36700724_4591.cpp:53:3: error: reference to 'equal' is ambiguous
equal[i] = find(list[i + 1] + 1, list[i] + 1);
^
0_0_36700724_4591.cpp:14:6: note: candidates are: bool equal [500]
bool equal[MAXV];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_36700724_4591.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1079:5: note: template<class _IIter1, class _IIter2, class _BinaryPredicate> bool std::equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate)
equal(_IIter1 __first1, _IIter1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1047:5: note: template<class _II1, class _II2> bool std::equal(_II1, _II1, _II2)
equal(_II1 __first1, _II1 __last1, _II2 __first2)
^
0_0_36700724_4591.cpp:55:2: error: reference to 'equal' is ambiguous
equal[i] = true;
^
0_0_36700724_4591.cpp:14:6: note: candidates are: bool equal [500]
bool equal[MAXV];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_36700724_4591.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1079:5: note: template<class _IIter1, class _IIter2, class _BinaryPredicate> bool std::equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate)
equal(_IIter1 __first1, _IIter1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1047:5: note: template<class _II1, class _II2> bool std::equal(_II1, _II1, _II2)
equal(_II1 __first1, _II1 __last1, _II2 __first2)
^
0_0_36700724_4591.cpp:59:21: error: reference to 'equal' is ambiguous
for (k = j + 1 - equal[i]; k < 26; k++){
^
0_0_36700724_4591.cpp:14:6: note: candidates are: bool equal [500]
bool equal[MAXV];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_36700724_4591.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1079:5: note: template<class _IIter1, class _IIter2, class _BinaryPredicate> bool std::equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate)
equal(_IIter1 __first1, _IIter1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1047:5: note: template<class _II1, class _II2> bool std::equal(_II1, _II1, _II2)
equal(_II1 __first1, _II1 __last1, _II2 __first2)
^
0_0_36700724_4591.cpp: In function 'int main()':
0_0_36700724_4591.cpp:79:10: error: reference to 'equal' is ambiguous
memset(equal, 0, sizeof(equal));
^
0_0_36700724_4591.cpp:14:6: note: candidates are: bool equal [500]
bool equal[MAXV];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_36700724_4591.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1079:5: note: template<class _IIter1, class _IIter2, class _BinaryPredicate> bool std::equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate)
equal(_IIter1 __first1, _IIter1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1047:5: note: template<class _II1, class _II2> bool std::equal(_II1, _II1, _II2)
equal(_II1 __first1, _II1 __last1, _II2 __first2)
^
0_0_36700724_4591.cpp:79:27: error: reference to 'equal' is ambiguous
memset(equal, 0, sizeof(equal));
^
0_0_36700724_4591.cpp:14:6: note: candidates are: bool equal [500]
bool equal[MAXV];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61:0,
from 0_0_36700724_4591.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1079:5: note: template<class _IIter1, class _IIter2, class _BinaryPredicate> bool std::equal(_IIter1, _IIter1, _IIter2, _BinaryPredicate)
equal(_IIter1 __first1, _IIter1 __last1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1047:5: note: template<class _II1, class _II2> bool std::equal(_II1, _II1, _II2)
equal(_II1 __first1, _II1 __last1, _II2 __first2)
^
|