[sword-devel] cvs won't compile

Eric Hartwell darth_linux at ameritech.net
Thu Jan 27 18:19:05 MST 2005


Hello, 

I try to compile CVS and I get 

g++ -DUSE_AUTOTOOLS -DGLOBCONFPATH=\"/usr/local/etc/sword.conf\" -DUNIX -I. 
-I. -I.. -I../include -g -O2 -ftemplate-depth-25 -c ../src/keys/versekey.cpp 
-MT versekey.lo -MD -MP -MF .deps/versekey.TPlo  -fPIC -DPIC
In file included from ../include/swconfig.h:32,
                 from ../include/localemgr.h:29,
                 from ../src/keys/versekey.cpp:22:
../include/multimapwdef.h: In member function `T& 
sword::multimapwithdefault<Key, T, Compare>::getWithDefault(const Key&, const 
T&)':
../include/multimapwdef.h:15: error: there are no arguments to `end' that 
depend on a template parameter, so a declarationof `end' must be available
../include/multimapwdef.h:15: error: (if you use `-fpermissive', G++ will 
accept your code, but allowing the use of an undeclared name is deprecated)
../include/multimapwdef.h: In member function `T& 
sword::multimapwithdefault<Key, T, Compare>::operator[](const Key&)':
../include/multimapwdef.h:22: error: there are no arguments to `end' that 
depend on a template parameter, so a declarationof `end' must be available
make[2]: *** [versekey.lo] Error 1
make[2]: Leaving directory `/home/eah/downloads/bibletime/sword/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eah/downloads/bibletime/sword'
make: *** [all] Error 2


any suggestions? 

thanks, 

Eric 


More information about the sword-devel mailing list