[htdig3-dev] 3.2-dev-010900 Compile errors on HP-UX 10.20


Subject: [htdig3-dev] 3.2-dev-010900 Compile errors on HP-UX 10.20
From: loic@ceic.com
Date: Mon Jan 10 2000 - 06:03:20 PST


J. op den Brouw writes:
>
> gcc -v == gcc version 2.8.1
> c++ -v == gcc version 2.8.1
> make == GNU Make version 3.78
> OS == HP-UX chaos B.10.20 U 9000/800 2004964319 unlimited-user license
>
> Still getting this:
>
>
> c++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"\"
> -I../include -I../htlib -I../htword -I../db/dist -I../db/dist
> -I../db/include -I../db/include -g -O2 -Wall -Wp,-MD,.deps/HtDateTime.pp
> -c -fPIC -DPIC HtDateTime.cc -o .libs/HtDateTime.lo
> HtDateTime.h: In method `HtDateTime::HtDateTime(int &)':
> In file included from HtDateTime.cc:16:
> HtDateTime.h:156: call of overloaded `SetDateTime(int &)' is ambiguous
> HtDateTime.h:193: candidates are: HtDateTime::SetDateTime(int)
> HtDateTime.h:185: HtDateTime::SetDateTime(const int &)
> HtDateTime.h: In method `HtDateTime::HtDateTime(int)':
> HtDateTime.h:164: call of overloaded `SetDateTime(int &)' is ambiguous
> HtDateTime.h:193: candidates are: HtDateTime::SetDateTime(int)
> HtDateTime.h:185: HtDateTime::SetDateTime(const int &)
>
>
> What seems to be the problem. Am I the only one with this....

 Well, apparently time_t is int on HPUX and the overloaded functions
are in conflict. I see a solution but I need you to test it first.
Could you change every const time_t &t to const time_t t for SetDateTime
prototypes ?

           Thanks,

-- 
		Loic Dachary

24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: loic@dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Mon Jan 10 2000 - 09:50:26 PST