Linux 2.6.18
gcc 4.1.1
g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DCONFIG_DIR=\"/opt/www/conf\" -I../htfuzzy -O2 -march=athlon-xp -pipe -ftree-vectorize -mfpmath=sse -Wall -fno-rtti -fno-exceptions -c -o Collection.o `test -f 'Collection.cc' || echo './'`Collection.cc
Collection.h:39: error: extra qualification 'Collection::' on member 'Open'
Collection.h:41: error: extra qualification 'Collection::' on member 'Close'
Collection.cc:63: error: definition of implicitly-declared 'virtual Collection::~Collection()'
make[1]: *** [Collection.o] Error 1
make[1]: Leaving directory `/home/fraga/htdig-3.2.0b6/htsearch'
make: *** [all-recursive] Error 1
Any hints? Thanks.
fraga@abusar.org
I had the same issue i resolved by removing the 'Collection::' in front of the methods Open() and Close() the Collection.h file. It compiled without any issues.