Hello htdig-Team,
htdig 3.1.6 does not compile with Suse 9.0 gcc-Version 3.3.1 (SuSE Linux)
I fixed it by adding:
"using namespace std;" in htlib/htString.h, Line 24
I hope you can use these information to improve htdig.
Greetings from Germany Andreas
############### Start Compilermessage
c++ -c -DDEFAULT_CONFIG_FILE=\"/home/testuser/.//htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Configuration.cc
In file included from Configuration.cc:13:
htString.h:139: error: `ostream' was not declared in this scope
htString.h:139: error: `o' was not declared in this scope
htString.h:139: error: invalid data member initialization
htString.h:139: error: (use `=' to initialize static data members)
htString.h:139: error: variable or field `debug' declared void
htString.h:152: error: ISO C++ forbids declaration of `ostream' with no type
htString.h:152: error: `ostream' is neither function nor member function;
cannot be declared friend
htString.h:152: error: parse error before `&' token
Configuration.cc: In member function `int Configuration::Read(char*)':
Configuration.cc:305: error: `ifstream' undeclared (first use this function)
Configuration.cc:305: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Configuration.cc:305: error: parse error before `(' token
Configuration.cc:307: error: `in' undeclared (first use this function)
make[1]: *** [Configuration.o] Fehler 1
make[1]: Leaving directory `/home/seton-test2/htdig/htdig-3.1.6/htlib'
make: *** [all] Fehler 1
############### End Compilermessage
-- Mit freundlichen Gr��en Anders und Seim Neue Medien AG
Andreas Delp
-------------------------------------------------------------------------- Andreas Delp
POSTAL Anders und Seim Neue Medien AG Raiffeisenstra�e 10 63225 Langen
FON: +49 (0) 6103.5973-0 FAX: +49 (0) 6103.5973-18
EMAIL: [EMAIL PROTECTED]
INTERNET http://www.andersundseim.de http://www.bildschirmschoner.de
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

