According to Holmes, Gregory:
> :)  Well, we got farther, apparently!  I made the changes as you said.
> Sorry I'm not more adept with C++ and make-ing or I'd figure it out myself.
> 
> Now the error I get is:
> 
> f/htdig.conf\"          -I../include -I../htlib                 -I../htnet
> -I../
> htcommon                -I../htword             -I../db -I../db
> -DCONFIG
> _DIR=\"//d/opt/www/conf\" -I../htfuzzy   -I/usr/include  -g -O2 -Wall
> -fno-rtti
> -fno-exceptions -c Display.cc
> Display.cc: In method `Display::Display(Dictionary *)':
> Display.cc:55: `DBL_MAX' undeclared (first use this function)
> Display.cc:55: (Each undeclared identifier is reported only once
> Display.cc:55: for each function it appears in.)

OK, add a #include <float.h> just after the #include <math.h> in
htsearch/Display.cc.  This was already done in the latest CVS snapshot.
There really should be a configure test for this header file, but we'll
have to deal with that later.

> Display.cc: In method `void Display::setVariables(int, List *)':
> Display.cc:621: warning: choosing `String::operator char *()' over
> `String::oper
> ator const char *() const'
> Display.cc:621: warning:   for conversion from `String' to `const char *'
> Display.cc:621: warning:   because conversion sequence for the argument is
> bette
> r
> Display.cc:623: warning: choosing `String::operator char *()' over
> `String::oper
> ator const char *() const'
> Display.cc:623: warning:   for conversion from `String' to `const char *'
> Display.cc:623: warning:   because conversion sequence for the argument is
> bette
> r
> make[1]: *** [Display.o] Error 1
> make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b3/htsearch'
> make: *** [all-recursive] Error 1

All this const stuff gives me a headache whenever I try to figure out where
they should go.  Given that these are just warnings, I think you can safely
ignore them for now.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to