[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling on hppa



Stijn de Bekker <stijn@debian.org> writes:

> Unfortunately, that does not work either. I get the same error:

Well, that was the plan, wasn't it ... reproducing it on your machine.

> make[1]: Entering directory `/home/stijn/htdig-3.1.5/htlib'
> g++-3.0 -c  -DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib
> -I../htcommon -I../include -g -O2 String.cc
> In file included from /usr/include/g++-v3/backward/stream.h:32,
>                  from String.cc:14:
> /usr/include/g++-v3/backward/iostream.h:35: using directive `ostream'
>    introduced ambiguous type `ostream'

Try commenting out the '#include <iostream.h>', or, if it won't
compile on gcc 2.95.x without that, wrapping it like such:

#if defined(__GNUC__) && __GNUC__ < 3
#  include <iostream.h>
#endif

-- 
Robbe

Attachment: signature.ng
Description: PGP signature


Reply to: