Advertisement
karlicoss

^^

Mar 30th, 2012
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.78 KB | None | 0 0
  1. array.cpp: В функции «void radixSort(const std::vector<int>&, int, const std::vector<int>&, std::vector<int>&, int)»:
  2. array.cpp:58:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  3. array.cpp:65:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  4. array.cpp: В функции «void sanders(std::vector<int>&, std::vector<int>&, int)»:
  5. array.cpp:84:36: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  6. array.cpp:85:29: ошибка: no match for «operator=» in «v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::pair<std::vector<int>, int>, _Alloc = std::allocator<std::pair<std::vector<int>, int> >, std::vector<_Tp, _Alloc>::reference = std::pair<std::vector<int>, int>&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i)).std::pair<std::vector<int>, int>::first = (& s)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i))»
  7. array.cpp:85:29: замечание: candidate is:
  8. /usr/include/c++/4.6/bits/vector.tcc:158:5: замечание: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>]
  9. /usr/include/c++/4.6/bits/vector.tcc:158:5: замечание: no known conversion for argument 1 from «int» to «const std::vector<int>&»
  10. array.cpp:89:36: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  11. array.cpp:120:70: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  12. array.cpp:137:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  13. array.cpp:148:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  14. array.cpp:160:35: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  15. array.cpp: В функции «int main()»:
  16. array.cpp:223:34: предупреждение: сравнение знакового и беззнакового целых выражений [-Wsign-compare]
  17. In file included from /usr/include/c++/4.6/algorithm:63:0,
  18. from array.cpp:7:
  19. /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  20. /usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from «void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  21. /usr/include/c++/4.6/bits/stl_algo.h:5370:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  22. array.cpp:88:37: instantiated from here
  23. /usr/include/c++/4.6/bits/stl_algo.h:2129:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  24. /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  25. /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  26. /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  27. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  28. array.cpp:88:37: instantiated from here
  29. /usr/include/c++/4.6/bits/stl_algo.h:1918:2: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  30. /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__move_median_first(_Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  31. /usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  32. /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  33. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  34. array.cpp:88:37: instantiated from here
  35. /usr/include/c++/4.6/bits/stl_algo.h:112:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  36. /usr/include/c++/4.6/bits/stl_algo.h:114:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  37. /usr/include/c++/4.6/bits/stl_algo.h:2264:7: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  38. /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  39. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  40. array.cpp:88:37: instantiated from here
  41. /usr/include/c++/4.6/bits/stl_algo.h:116:9: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  42. /usr/include/c++/4.6/bits/stl_algo.h:119:12: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  43. /usr/include/c++/4.6/bits/stl_algo.h:121:12: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  44. /usr/include/c++/4.6/bits/stl_algo.h: В функции «_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  45. /usr/include/c++/4.6/bits/stl_algo.h:2265:78: instantiated from «_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  46. /usr/include/c++/4.6/bits/stl_algo.h:2306:62: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  47. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  48. array.cpp:88:37: instantiated from here
  49. /usr/include/c++/4.6/bits/stl_algo.h:2233:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  50. /usr/include/c++/4.6/bits/stl_algo.h:2236:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «const std::pair<std::vector<int>, int>»
  51. /usr/include/c++/4.6/bits/stl_algo.h: В функции «void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  52. /usr/include/c++/4.6/bits/stl_algo.h:2137:6: instantiated from «void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  53. /usr/include/c++/4.6/bits/stl_algo.h:2196:4: instantiated from «void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  54. /usr/include/c++/4.6/bits/stl_algo.h:5370:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  55. array.cpp:88:37: instantiated from here
  56. /usr/include/c++/4.6/bits/stl_algo.h:2087:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::iterator_traits<__gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > > >::value_type {aka std::pair<std::vector<int>, int>}»
  57. In file included from /usr/include/c++/4.6/bits/stl_algo.h:63:0,
  58. from /usr/include/c++/4.6/algorithm:63,
  59. from array.cpp:7:
  60. /usr/include/c++/4.6/bits/stl_heap.h: В функции «void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  61. /usr/include/c++/4.6/bits/stl_heap.h:436:4: instantiated from «void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  62. /usr/include/c++/4.6/bits/stl_algo.h:1916:7: instantiated from «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  63. /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  64. /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  65. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  66. array.cpp:88:37: instantiated from here
  67. /usr/include/c++/4.6/bits/stl_heap.h:305:4: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  68. /usr/include/c++/4.6/bits/stl_heap.h: В функции «void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»:
  69. /usr/include/c++/4.6/bits/stl_heap.h:318:7: instantiated from «void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Distance = long int, _Tp = std::pair<std::vector<int>, int>, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  70. /usr/include/c++/4.6/bits/stl_heap.h:436:4: instantiated from «void std::make_heap(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  71. /usr/include/c++/4.6/bits/stl_algo.h:1916:7: instantiated from «void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  72. /usr/include/c++/4.6/bits/stl_algo.h:5218:7: instantiated from «void std::partial_sort(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  73. /usr/include/c++/4.6/bits/stl_algo.h:2301:8: instantiated from «void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Size = long int, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  74. /usr/include/c++/4.6/bits/stl_algo.h:5368:4: instantiated from «void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::vector<int>, int>*, std::vector<std::pair<std::vector<int>, int> > >, _Compare = bool (*)(const std::vector<int>&, const std::vector<int>&)]»
  75. array.cpp:88:37: instantiated from here
  76. /usr/include/c++/4.6/bits/stl_heap.h:182:7: ошибка: некорректная инициализация ссылки типа «const std::vector<int>&» из выражения типа «std::pair<std::vector<int>, int>»
  77. array.cpp: В функции «int main()»:
  78. array.cpp:217:41: предупреждение: ignoring return value of «FILE* freopen(const char*, const char*, FILE*)», declared with attribute warn_unused_result [-Wunused-result]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement