Subject: Re: pkg/32960: www/htdig-devel kdebase3 Solaris10 gcc 3.4.3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 03/01/2006 14:40:02
The following reply was made to PR pkg/32960; it has been noted by GNATS.
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, dauphin@enst.fr,
gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/32960: www/htdig-devel kdebase3 Solaris10 gcc 3.4.3
Date: Wed, 1 Mar 2006 15:35:15 +0100 (CET)
> Delivered-To: dauphin@enst.fr
> From: joerg@britannica.bec.de
> To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
"Gilles Dauphin" <dauphin@enst.fr>
> Subject: Re: pkg/32960: www/htdig-devel kdebase3 Solaris10 gcc 3.4.3
> X-Gnats-Was-Stupid: no
> Cc:
> X-Virus-Scanned: amavisd-new at enst.fr
>
> The following reply was made to PR pkg/32960; it has been noted by GNATS.
>
> From: joerg@britannica.bec.de
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/32960: www/htdig-devel kdebase3 Solaris10 gcc 3.4.3
> Date: Wed, 1 Mar 2006 14:42:25 +0100
>
> On Wed, Mar 01, 2006 at 10:10:04AM +0000, Gilles Dauphin wrote:
> > CXXFLAGS+= -std=c99
> > CFLAGS+= -std=c99
>
> This feels wrong, at least the former. Is there something like
> _GNU_SOURCE on Solaris to turn the C99 features for C++ on?
> Can you also check whether the failing sets e.g. _POSIX_SOURCE
> explicitly?
>
> Joerg
You are right the compile fail.
The CXXFLAGS is wrong, does not exist for g++,
How to define 'bool' correctly in htdig?
Gilles