Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/4.6/i686-linux-gnu/./bits/c++allocator.h:34:0,
- from /usr/include/c++/4.6/bits/allocator.h:48,
- from /usr/include/c++/4.6/string:43,
- from /usr/include/c++/4.6/bits/locale_classes.h:42,
- from /usr/include/c++/4.6/bits/ios_base.h:43,
- from /usr/include/c++/4.6/ios:43,
- from /usr/include/c++/4.6/ostream:40,
- from /usr/include/c++/4.6/iostream:40,
- from include/head.h:4,
- from include/config.h:4,
- from src/config.cpp:1:
- /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]]':
- /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]]'
- src/config.cpp:14:39: instantiated from here
- /usr/include/c++/4.6/ext/new_allocator.h:108:9: error: ISO C++ forbids initialization in array new [-fpermissive]
- In file included from /usr/include/c++/4.6/vector:70:0,
- from /usr/include/c++/4.6/bits/random.h:34,
- from /usr/include/c++/4.6/random:50,
- from include/head.h:5,
- from include/config.h:4,
- from src/config.cpp:1:
- /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]]':
- /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]]'
- src/config.cpp:14:39: instantiated from here
- /usr/include/c++/4.6/bits/vector.tcc:319:4: error: ISO C++ forbids casting to an array type 'coordinate_t [2]'
- In file included from /usr/include/c++/4.6/i686-linux-gnu/./bits/c++allocator.h:34:0,
- from /usr/include/c++/4.6/bits/allocator.h:48,
- from /usr/include/c++/4.6/string:43,
- from /usr/include/c++/4.6/bits/locale_classes.h:42,
- from /usr/include/c++/4.6/bits/ios_base.h:43,
- from /usr/include/c++/4.6/ios:43,
- from /usr/include/c++/4.6/ostream:40,
- from /usr/include/c++/4.6/iostream:40,
- from include/head.h:4,
- from include/config.h:4,
- from src/config.cpp:1:
- /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]]':
- /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]]'
- /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]]'
- src/config.cpp:14:39: instantiated from here
- /usr/include/c++/4.6/ext/new_allocator.h:114:4: error: ISO C++ forbids initialization in array new [-fpermissive]
- /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]]':
- /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]]'
- /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]]'
- src/config.cpp:14:39: instantiated from here
- /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]'
- 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