On Saturday, August 30, 2003, at 06:50 PM, Phil Glatz wrote:

c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -Wno-deprecated String.cc

String.cc: In function `ostream& operator<<(ostream&, String&)':
String.cc:557: invalid use of undefined type `struct ostream'
htString.h:19: forward declaration of `struct ostream'
String.cc: In member function `void String::debug(ostream&)':
String.cc:633: no match for `ostream& << const char[9]' operator
String.cc:556: candidates are: ostream& operator<<(ostream&, String&)

This problem appears to be specific to your platform/compiler. I have never run into it and I don't recall seeing it reported on the list prior to your message. What compiler version are you using? Did you say that you are running on a FreeBSD 5 box?


At a guess, it looks like there is an issue with the ostream.h file that is getting pulled in by htlib/htString.h. If you can't think of anything better to try, you might try commenting out the include for ostream.h and explicitly including iostream.h in htString.h. Perhaps there is an old/incompatible copy of ostream.h that is being picked up.

Jim



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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

Reply via email to