Hi,
  I'm trying to compile htdig on a Sun Ultra 10/270 running Solaris 7 using:

% set path = (c++ path)
% c++ --version
egcs-2.92.33
% make
[...lots of stuff cut out...]
c++ -c  -DDEFAULT_CONFIG_FILE=\"/opt/htdig/conf/htdig.conf\" -I../htlib -I../htcommon 
-I../db/dist -I../rx/rx -I../include -g -O2 StringList.cc
StringList.cc: In method `class String StringList::Join(char)':
StringList.cc:302: initialization of non-const reference type `class String &'
StringList.cc:302: from rvalue of type `String'
htString.h:114: in passing argument 1 of `String::append(String &)'
*** Error code 1
make: Fatal error: Command failed for target `StringList.o'
Current working directory /home/src/htdig/htdig-3.1.0b3-010399/htlib
*** Error code 1
make: Fatal error: Command failed for target `all'
% 


then i tried sun's workshop compiler 5.0 (beta):

% set path = (beta sun workshop compilers 5.0)
% CC -v
CC: WorkShop Compilers 5.0 98/12/09 C++ 5.0 Dev
% make
[...lots of stuff cut out...]
CC -c  -ddefault_config_file=\"/opt/htdig/conf/htdig.conf\" -i../htlib -i../htcommon 
-i../db/dist -i../rx/rx -i../include -g stringlist.cc
"stringlist.cc", line 281: warning (anachronism): formal argument 4 of type extern "c" 
int(*)(const void*,const void*) in call to qsort(void*, unsigned, unsigned, extern "c" 
int(*)(const void*,const void*)) is being passed int(*)(const void*,const void*).
"stringlist.cc", line 302: error: formal argument s of type string& in call to 
string::append(string&) requires an lvalue.
1 error(s) and 1 warning(s) detected.
*** error code 1
%


any ideas?

...thnx,
...dave alden
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to