0_0_32247071_24573.cpp: In function 'int main()':
0_0_32247071_24573.cpp:23:13: error: 'lenc' was not declared in this scope
lenc = strlen(c);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_32247071_24573.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[10]]'
0_0_32247071_24573.cpp:15:18: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1849:11: error: array must be initialized with a brace-enclosed initializer
__val = _GLIBCXX_MOVE(*__i);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_32247071_24573.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1851:17: error: invalid array assignment
*__first = _GLIBCXX_MOVE(__val);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_32247071_24573.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1673:49: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = char (*)[10]; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[10]]'
0_0_32247071_24573.cpp:15:18: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:332:25: error: array must be initialized with a brace-enclosed initializer
_ValueType __value = _GLIBCXX_MOVE(*(__first + __parent));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1676:50: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = char (*)[10]; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char (*)[10]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = char (*)[10]]'
0_0_32247071_24573.cpp:15:18: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:243:28: error: array must be initialized with a brace-enclosed initializer
_ValueType __value = _GLIBCXX_MOVE(*__result);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_32247071_24573.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:244:17: error: invalid array assignment
*__result = _GLIBCXX_MOVE(*__first);
^
|