1 2 3 4 5 6 7 8 9 10 11 12
| g++ -O3 -Wno-non-template-friend -c Array.cc
In file included from /usr/include/c++/5/ext/hash_map:60:0,
from hashtable.h:5,
from Array.cc:10:
/usr/include/c++/5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
Array.cc:112:5: error: specializing member Array<int>::compare requires template<> syntax
int Array<int>::compare(Array<int>* ar2)
^
Makefile:30: recipe for target 'Array.o' failed
make: *** [Array.o] Error 1 |
Partager