From: Gilles D. <gr...@sc...> - 2001-11-22 20:40:14
|
According to Michael Clarke: > Ok, I have encountered a problem when compiling on Solaris 2.6. ... > c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 String.cc > In file included from /usr/local/include/g++-v3/backward/stream.h:32, > from String.cc:17: > /usr/local/include/g++-v3/backward/iostream.h:35: using directive `ostream' > introduced ambiguous type `ostream' > htString.h: In function `std::ostream& operator<<(std::ostream&, String&)': > htString.h:159: `char*String::Data' is private > String.cc:544: within this context > String.cc: At global scope: > String.cc:619: prototype for `void String::debug(std::ostream&)' does not match > any in class `String' > htString.h:127: candidate is: void String::debug(ostream&) > make[1]: *** [String.o] Error 1 > make[1]: Leaving directory `/jumpstart/tmp/intra-servers/intra-servers/htdig/htdig-3.1.5/htlib' > make: *** [all] Error 1 I suggest you try the 3.1.6 snapshot in http://www.htdig.org/files/snapshots/ It should fix the problems with the definitions of streams. If you can wait till this coming Sunday's snapshot, you'll also get a few more bug fixes from this past week. -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 |