0_0_14674768_11002.cpp: In function 'int main()':
0_0_14674768_11002.cpp:13:8: error: expected unqualified-id before 'or' token
char or[10005];
^
0_0_14674768_11002.cpp:14:8: error: expected primary-expression before 'or' token
gets(or);
^
0_0_14674768_11002.cpp:14:10: error: expected primary-expression before ')' token
gets(or);
^
0_0_14674768_11002.cpp:15:15: error: expected primary-expression before 'or' token
char last = or[0];
^
0_0_14674768_11002.cpp:15:18: error: expected identifier before numeric constant
char last = or[0];
^
0_0_14674768_11002.cpp: In lambda function:
0_0_14674768_11002.cpp:15:20: error: expected '{' before ';' token
char last = or[0];
^
0_0_14674768_11002.cpp: In function 'int main()':
0_0_14674768_11002.cpp:17:31: error: expected primary-expression before 'or' token
for (int j = 0; j <= strlen(or); j++)
^
0_0_14674768_11002.cpp:17:33: error: expected primary-expression before ')' token
for (int j = 0; j <= strlen(or); j++)
^
0_0_14674768_11002.cpp:19:8: error: expected primary-expression before 'or' token
if (or[j] == last)
^
0_0_14674768_11002.cpp: In lambda function:
0_0_14674768_11002.cpp:19:14: error: expected '{' before '==' token
if (or[j] == last)
^
0_0_14674768_11002.cpp: In function 'int main()':
0_0_14674768_11002.cpp:19:14: error: no match for 'operator==' (operand types are 'main()::<lambda()>' and 'char')
0_0_14674768_11002.cpp:19:14: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::fpos<_StateT>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::pair<_T1, _T2>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::reverse_iterator<_Iterator>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::reverse_iterator<_Iterator>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::move_iterator<_Iterator>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1054:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator==(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1054:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::move_iterator<_Iterator>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_14674768_11002.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
0_0_14674768_11002.cpp:19:17: note: 'main()::<lambda()>' is not derived from 'const std::allocator<_CharT>'
if (or[j] == last)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostr
|