Menu

#2 won't build (FC4)

v1.0_(example)
open
nobody
5
2005-08-02
2005-08-02
No

[ (0) wwalker@behemoth:~/work/makinbakon-0.3.2 ]$ make
Testing for the fortune command... Working
Searching for Curses include files... Found
Searching for the strfile command... Found
Checking archive for offensive.dat... Found
Checking archive for poetry.dat... Found
Checking archive for startrek.dat... Found
Checking for object files and executable... Done
Makin' Bakon. This could take a while...

g++ -O2 -Wall -DARCHIVE -DDATA -DDOC -c bakon.cpp
makemap.h: In member function 'bool MakeMap<KEY,
VALUE>::isempty()':
makemap.h:53: error: there are no arguments to 'empty'
that depend on a template parameter, so a declaration
of 'empty' must be available
makemap.h:53: error: (if you use '-fpermissive', G++
will accept your code, but allowing the use of an
undeclared name is deprecated)
makemap.h: In member function 'VALUE& MakeMap<KEY,
VALUE>::findval(KEY)':
makemap.h:59: error: there are no arguments to 'end'
that depend on a template parameter, so a declaration
of 'end' must be available
makemap.h: In member function 'void MakeMap<KEY,
VALUE>::printmap(std::ostream&)':
makemap.h:71: error: there are no arguments to 'begin'
that depend on a template parameter, so a declaration
of 'begin' must be available
makemap.h:71: error: there are no arguments to 'end'
that depend on a template parameter, so a declaration
of 'end' must be available
makemap.h:72: error: 'endl' was not declared in this scope
make[1]: *** [bakon.o] Error 1
make: *** [make_bakon] Error 2
[ (0) wwalker@behemoth:~/work/makinbakon-0.3.2 ]$

Discussion


Log in to post a comment.