Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. In file included from /usr/include/c++/4.6/i686-linux-gnu/./bits/c++allocator.h:34:0,
  2. from /usr/include/c++/4.6/bits/allocator.h:48,
  3. from /usr/include/c++/4.6/string:43,
  4. from /usr/include/c++/4.6/bits/locale_classes.h:42,
  5. from /usr/include/c++/4.6/bits/ios_base.h:43,
  6. from /usr/include/c++/4.6/ios:43,
  7. from /usr/include/c++/4.6/ostream:40,
  8. from /usr/include/c++/4.6/iostream:40,
  9. from include/head.h:4,
  10. from include/config.h:4,
  11. from src/config.cpp:1:
  12. /usr/include/c++/4.6/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, const _Tp&) [with _Tp = coordinate_t [2], __gnu_cxx::new_allocator<_Tp>::pointer = coordinate_t (*)[2]]':
  13. /usr/include/c++/4.6/bits/stl_vector.h:830:6: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::value_type = coordinate_t [2]]'
  14. src/config.cpp:14:39: instantiated from here
  15. /usr/include/c++/4.6/ext/new_allocator.h:108:9: error: ISO C++ forbids initialization in array new [-fpermissive]
  16. In file included from /usr/include/c++/4.6/vector:70:0,
  17. from /usr/include/c++/4.6/bits/random.h:34,
  18. from /usr/include/c++/4.6/random:50,
  19. from include/head.h:5,
  20. from include/config.h:4,
  21. from src/config.cpp:1:
  22. /usr/include/c++/4.6/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const coordinate_t (&)[2]}, _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<coordinate_t (*)[2], std::vector<coordinate_t [2]> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = coordinate_t (*)[2]]':
  23. /usr/include/c++/4.6/bits/stl_vector.h:834:4: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::value_type = coordinate_t [2]]'
  24. src/config.cpp:14:39: instantiated from here
  25. /usr/include/c++/4.6/bits/vector.tcc:319:4: error: ISO C++ forbids casting to an array type 'coordinate_t [2]'
  26. In file included from /usr/include/c++/4.6/i686-linux-gnu/./bits/c++allocator.h:34:0,
  27. from /usr/include/c++/4.6/bits/allocator.h:48,
  28. from /usr/include/c++/4.6/string:43,
  29. from /usr/include/c++/4.6/bits/locale_classes.h:42,
  30. from /usr/include/c++/4.6/bits/ios_base.h:43,
  31. from /usr/include/c++/4.6/ios:43,
  32. from /usr/include/c++/4.6/ostream:40,
  33. from /usr/include/c++/4.6/iostream:40,
  34. from include/head.h:4,
  35. from include/config.h:4,
  36. from src/config.cpp:1:
  37. /usr/include/c++/4.6/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, _Args&& ...) [with _Args = {coordinate_t [2]}, _Tp = coordinate_t [2], __gnu_cxx::new_allocator<_Tp>::pointer = coordinate_t (*)[2]]':
  38. /usr/include/c++/4.6/bits/vector.tcc:306:4: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const coordinate_t (&)[2]}, _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<coordinate_t (*)[2], std::vector<coordinate_t [2]> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = coordinate_t (*)[2]]'
  39. /usr/include/c++/4.6/bits/stl_vector.h:834:4: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::value_type = coordinate_t [2]]'
  40. src/config.cpp:14:39: instantiated from here
  41. /usr/include/c++/4.6/ext/new_allocator.h:114:4: error: ISO C++ forbids initialization in array new [-fpermissive]
  42. /usr/include/c++/4.6/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::destroy(__gnu_cxx::new_allocator<_Tp>::pointer) [with _Tp = coordinate_t [2], __gnu_cxx::new_allocator<_Tp>::pointer = coordinate_t (*)[2]]':
  43. /usr/include/c++/4.6/bits/vector.tcc:358:3: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const coordinate_t (&)[2]}, _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<coordinate_t (*)[2], std::vector<coordinate_t [2]> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = coordinate_t (*)[2]]'
  44. /usr/include/c++/4.6/bits/stl_vector.h:834:4: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = coordinate_t [2], _Alloc = std::allocator<coordinate_t [2]>, std::vector<_Tp, _Alloc>::value_type = coordinate_t [2]]'
  45. src/config.cpp:14:39: instantiated from here
  46. /usr/include/c++/4.6/ext/new_allocator.h:118:30: error: request for member '~coordinate_t [2]' in '* __p', which is of non-class type 'coordinate_t [2]'
  47. make: *** [/files/home/part2/behlau/Natty/beped/build/own_build/src/config.cpp.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement