Skip to content

Instantly share code, notes, and snippets.

@deoxxa
Created January 8, 2011 13:48
Show Gist options
  • Save deoxxa/770846 to your computer and use it in GitHub Desktop.
Save deoxxa/770846 to your computer and use it in GitHub Desktop.
Y U DO DIS, GCC?!
Compiling mineserver.cpp
hook.h: In member function ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:1315: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1315: note: (so you should pass ‘int’ not ‘signed char’ to ‘va_arg’)
hook.h:1315: note: if this code is reached, the program will abort
hook.h:1318: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1318: note: if this code is reached, the program will abort
hook.h:1320: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1320: note: if this code is reached, the program will abort
hook.h:1321: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1321: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:1345: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1345: note: if this code is reached, the program will abort
hook.h:1348: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1348: note: if this code is reached, the program will abort
hook.h:1350: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1350: note: if this code is reached, the program will abort
hook.h:1351: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1351: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doAll(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:1285: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1285: note: if this code is reached, the program will abort
hook.h:1288: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1288: note: if this code is reached, the program will abort
hook.h:1290: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1290: note: if this code is reached, the program will abort
hook.h:1291: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:1291: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:874: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:874: note: if this code is reached, the program will abort
hook.h:876: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:876: note: if this code is reached, the program will abort
hook.h:877: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:877: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:901: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:901: note: if this code is reached, the program will abort
hook.h:903: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:903: note: if this code is reached, the program will abort
hook.h:904: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:904: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook6<R, A1, A2, A3, A4, A5, A6>::doAll(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:847: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:847: note: if this code is reached, the program will abort
hook.h:849: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:849: note: if this code is reached, the program will abort
hook.h:850: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:850: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:735: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:735: note: if this code is reached, the program will abort
hook.h:737: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:737: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:761: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:761: note: if this code is reached, the program will abort
hook.h:763: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:763: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook5<R, A1, A2, A3, A4, A5>::doAll(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:709: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:709: note: if this code is reached, the program will abort
hook.h:711: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:711: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilTrue(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:735: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:735: note: if this code is reached, the program will abort
hook.h:737: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:737: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilFalse(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:761: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:761: note: if this code is reached, the program will abort
hook.h:763: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:763: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook5<R, A1, A2, A3, A4, A5>::doAll(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
mineserver.cpp:446: instantiated from here
hook.h:709: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:709: note: if this code is reached, the program will abort
hook.h:711: warning: ‘short int’ is promoted to ‘int’ when passed through ‘...’
hook.h:711: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:1017: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1017: note: if this code is reached, the program will abort
hook.h:1020: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1020: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:1045: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1045: note: if this code is reached, the program will abort
hook.h:1048: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:1048: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doAll(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:989: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:989: note: if this code is reached, the program will abort
hook.h:992: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:992: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilTrue(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:600: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:600: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilFalse(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:625: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:625: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook4<R, A1, A2, A3, A4>::doAll(char*) [with R = bool, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:575: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:575: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:600: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:600: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:625: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:625: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook4<R, A1, A2, A3, A4>::doAll(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
mineserver.cpp:446: instantiated from here
hook.h:575: warning: ‘signed char’ is promoted to ‘int’ when passed through ‘...’
hook.h:575: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’:
mineserver.cpp:446: instantiated from here
hook.h:469: warning: ‘short unsigned int’ is promoted to ‘int’ when passed through ‘...’
hook.h:469: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’:
mineserver.cpp:446: instantiated from here
hook.h:493: warning: ‘short unsigned int’ is promoted to ‘int’ when passed through ‘...’
hook.h:493: note: if this code is reached, the program will abort
hook.h: In member function ‘void Hook3<R, A1, A2, A3>::doAll(char*) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’:
mineserver.cpp:446: instantiated from here
hook.h:445: warning: ‘short unsigned int’ is promoted to ‘int’ when passed through ‘...’
hook.h:445: note: if this code is reached, the program will abort
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:469: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:493: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘void Hook3<R, A1, A2, A3>::doAll(char*) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:445: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = bool, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:469: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = bool, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:493: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘void Hook3<R, A1, A2, A3>::doAll(char*) [with R = bool, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:445: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook2<R, A1, A2>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:341: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook2<R, A1, A2>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:364: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘void Hook2<R, A1, A2>::doAll(char*) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
mineserver.cpp:446: instantiated from here
hook.h:318: warning: cannot receive objects of non-POD type ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ through ‘...’; call will abort at runtime
hook.h: In member function ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilTrue(A1, A2, A3, A4, A5, A6, A7, A8, A9) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’:
hook.h:1323: instantiated from ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:1302: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, int, signed char, int, short int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, int, signed char, int, short int, short int), std::allocator<void (*)(User*, int, signed char, int, int, signed char, int, short int, short int)> >]())(a1, a2, ((int)a3), a4, a5, ((int)a6), a7, ((int)a8), ((int)a9))’ to ‘bool’
hook.h: In member function ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilFalse(A1, A2, A3, A4, A5, A6, A7, A8, A9) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’:
hook.h:1353: instantiated from ‘bool Hook9<R, A1, A2, A3, A4, A5, A6, A7, A8, A9>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int, A8 = short int, A9 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:1332: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, int, signed char, int, short int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, int, signed char, int, short int, short int), std::allocator<void (*)(User*, int, signed char, int, int, signed char, int, short int, short int)> >]())(a1, a2, ((int)a3), a4, a5, ((int)a6), a7, ((int)a8), ((int)a9))’ to ‘bool’
hook.h:1332: error: in argument to unary !
hook.h: In member function ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilTrue(A1, A2, A3, A4, A5, A6) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’:
hook.h:879: instantiated from ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:861: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, short int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, short int, short int), std::allocator<void (*)(User*, int, signed char, int, short int, short int)> >]())(a1, a2, ((int)a3), a4, ((int)a5), ((int)a6))’ to ‘bool’
hook.h: In member function ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilFalse(A1, A2, A3, A4, A5, A6) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’:
hook.h:906: instantiated from ‘bool Hook6<R, A1, A2, A3, A4, A5, A6>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int, A6 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:888: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, short int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, short int, short int), std::allocator<void (*)(User*, int, signed char, int, short int, short int)> >]())(a1, a2, ((int)a3), a4, ((int)a5), ((int)a6))’ to ‘bool’
hook.h:888: error: in argument to unary !
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilTrue(A1, A2, A3, A4, A5) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
hook.h:739: instantiated from ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:722: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, short int), std::allocator<void (*)(User*, int, signed char, int, short int)> >]())(a1, a2, ((int)a3), a4, ((int)a5))’ to ‘bool’
hook.h: In member function ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilFalse(A1, A2, A3, A4, A5) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’:
hook.h:765: instantiated from ‘bool Hook5<R, A1, A2, A3, A4, A5>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = short int]’
mineserver.cpp:446: instantiated from here
hook.h:748: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, short int), _Container = std::vector<void (*)(User*, int, signed char, int, short int), std::allocator<void (*)(User*, int, signed char, int, short int)> >]())(a1, a2, ((int)a3), a4, ((int)a5))’ to ‘bool’
hook.h:748: error: in argument to unary !
hook.h: In member function ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilTrue(A1, A2, A3, A4, A5, A6, A7) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’:
hook.h:1023: instantiated from ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’
mineserver.cpp:446: instantiated from here
hook.h:1004: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, int, signed char, int), _Container = std::vector<void (*)(User*, int, signed char, int, int, signed char, int), std::allocator<void (*)(User*, int, signed char, int, int, signed char, int)> >]())(a1, a2, ((int)a3), a4, a5, ((int)a6), a7)’ to ‘bool’
hook.h: In member function ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilFalse(A1, A2, A3, A4, A5, A6, A7) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’:
hook.h:1051: instantiated from ‘bool Hook7<R, A1, A2, A3, A4, A5, A6, A7>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int, A5 = int, A6 = signed char, A7 = int]’
mineserver.cpp:446: instantiated from here
hook.h:1032: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int, int, signed char, int), _Container = std::vector<void (*)(User*, int, signed char, int, int, signed char, int), std::allocator<void (*)(User*, int, signed char, int, int, signed char, int)> >]())(a1, a2, ((int)a3), a4, a5, ((int)a6), a7)’ to ‘bool’
hook.h:1032: error: in argument to unary !
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilTrue(A1, A2, A3, A4) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
hook.h:603: instantiated from ‘bool Hook4<R, A1, A2, A3, A4>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’
mineserver.cpp:446: instantiated from here
hook.h:587: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int), _Container = std::vector<void (*)(User*, int, signed char, int), std::allocator<void (*)(User*, int, signed char, int)> >]())(a1, a2, ((int)a3), a4)’ to ‘bool’
hook.h: In member function ‘bool Hook4<R, A1, A2, A3, A4>::doUntilFalse(A1, A2, A3, A4) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’:
hook.h:628: instantiated from ‘bool Hook4<R, A1, A2, A3, A4>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = int, A3 = signed char, A4 = int]’
mineserver.cpp:446: instantiated from here
hook.h:612: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, int, signed char, int), _Container = std::vector<void (*)(User*, int, signed char, int), std::allocator<void (*)(User*, int, signed char, int)> >]())(a1, a2, ((int)a3), a4)’ to ‘bool’
hook.h:612: error: in argument to unary !
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(A1, A2, A3) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’:
hook.h:471: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’
mineserver.cpp:446: instantiated from here
hook.h:456: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, unsigned int, short unsigned int), _Container = std::vector<void (*)(User*, unsigned int, short unsigned int), std::allocator<void (*)(User*, unsigned int, short unsigned int)> >]())(a1, a2, ((int)a3))’ to ‘bool’
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(A1, A2, A3) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’:
hook.h:495: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = unsigned int, A3 = short unsigned int]’
mineserver.cpp:446: instantiated from here
hook.h:480: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, unsigned int, short unsigned int), _Container = std::vector<void (*)(User*, unsigned int, short unsigned int), std::allocator<void (*)(User*, unsigned int, short unsigned int)> >]())(a1, a2, ((int)a3))’ to ‘bool’
hook.h:480: error: in argument to unary !
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(A1, A2, A3) [with R = void, A1 = User*, A2 = User*, A3 = int]’:
hook.h:471: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = User*, A3 = int]’
mineserver.cpp:446: instantiated from here
hook.h:456: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, User*, int), _Container = std::vector<void (*)(User*, User*, int), std::allocator<void (*)(User*, User*, int)> >]())(a1, a2, a3)’ to ‘bool’
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(A1, A2, A3) [with R = void, A1 = User*, A2 = User*, A3 = int]’:
hook.h:495: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = User*, A3 = int]’
mineserver.cpp:446: instantiated from here
hook.h:480: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, User*, int), _Container = std::vector<void (*)(User*, User*, int), std::allocator<void (*)(User*, User*, int)> >]())(a1, a2, a3)’ to ‘bool’
hook.h:480: error: in argument to unary !
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(A1, A2, A3) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
hook.h:471: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
mineserver.cpp:446: instantiated from here
hook.h:456: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), _Container = std::vector<void (*)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), std::allocator<void (*)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)> >]())(a1, a2, std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)(& a3)))))’ to ‘bool’
hook.h: In member function ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(A1, A2, A3) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
hook.h:495: instantiated from ‘bool Hook3<R, A1, A2, A3>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = long int, A3 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
mineserver.cpp:446: instantiated from here
hook.h:480: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), _Container = std::vector<void (*)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), std::allocator<void (*)(User*, long int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)> >]())(a1, a2, std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)(& a3)))))’ to ‘bool’
hook.h:480: error: in argument to unary !
hook.h: In member function ‘bool Hook2<R, A1, A2>::doUntilTrue(A1, A2) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
hook.h:343: instantiated from ‘bool Hook2<R, A1, A2>::doUntilTrue(char*) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
mineserver.cpp:446: instantiated from here
hook.h:329: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), _Container = std::vector<void (*)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), std::allocator<void (*)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)> >]())(a1, std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)(& a2)))))’ to ‘bool’
hook.h: In member function ‘bool Hook2<R, A1, A2>::doUntilFalse(A1, A2) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’:
hook.h:366: instantiated from ‘bool Hook2<R, A1, A2>::doUntilFalse(char*) [with R = void, A1 = User*, A2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
mineserver.cpp:446: instantiated from here
hook.h:352: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), _Container = std::vector<void (*)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >), std::allocator<void (*)(User*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)> >]())(a1, std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)(& a2)))))’ to ‘bool’
hook.h:352: error: in argument to unary !
hook.h: In member function ‘bool Hook1<R, A1>::doUntilTrue(A1) [with R = void, A1 = User*]’:
hook.h:219: instantiated from ‘bool Hook1<R, A1>::doUntilTrue(char*) [with R = void, A1 = User*]’
mineserver.cpp:446: instantiated from here
hook.h:206: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*), _Container = std::vector<void (*)(User*), std::allocator<void (*)(User*)> >]())(a1)’ to ‘bool’
hook.h: In member function ‘bool Hook1<R, A1>::doUntilFalse(A1) [with R = void, A1 = User*]’:
hook.h:241: instantiated from ‘bool Hook1<R, A1>::doUntilFalse(char*) [with R = void, A1 = User*]’
mineserver.cpp:446: instantiated from here
hook.h:228: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(User*), _Container = std::vector<void (*)(User*), std::allocator<void (*)(User*)> >]())(a1)’ to ‘bool’
hook.h:228: error: in argument to unary !
hook.h: In member function ‘bool Hook0<R>::doUntilTrue() [with R = void]’:
hook.h:97: instantiated from ‘bool Hook0<R>::doUntilTrue(char*) [with R = void]’
mineserver.cpp:446: instantiated from here
hook.h:84: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(), _Container = std::vector<void (*)(), std::allocator<void (*)()> >]())()’ to ‘bool’
hook.h: In member function ‘bool Hook0<R>::doUntilFalse() [with R = void]’:
hook.h:119: instantiated from ‘bool Hook0<R>::doUntilFalse(char*) [with R = void]’
mineserver.cpp:446: instantiated from here
hook.h:106: error: could not convert ‘(*ia.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = void (**)(), _Container = std::vector<void (*)(), std::allocator<void (*)()> >]())()’ to ‘bool’
hook.h:106: error: in argument to unary !
make: *** [mineserver.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment