Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#280 HTDig 3.2.0b6 compilation issue

open
nobody
htsearch (60)
5
2006-11-29
2006-11-29
Dâniel Fraga
No

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

Discussion

  • luma35
    luma35
    2009-04-24

    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.