Subject: Re: -std=gnu99 in compiler wrappers
To: None <pkgsrc-users@netbsd.org, tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-users
Date: 02/10/2007 15:45:08
--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Raymond Meyer <raymond.meyer@rambler.ru> wrote:
> Well looks like the reason for -std=3Dgnu99 in compiler wrappers is becau=
se
> devel/glib2/Makefile contains
>=20
> USE_LANGUAGES=3D c c++ c99
>=20
> Is there really a need for c99? It breaks this package build on Solaris
Unfortunately, it is in fact needed. Certain code that uses C99
features does not compile with certain compilers unless you tell them to
use c99 mode (*cough* IRIX *cough*).
-Jan
--=20
Fate, it seems, is not without a sense of irony.
--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)
iD8DBQFFzlkEfFtkr68iakwRApR3AJ4vmvU29GHGwHipzBgyMZ3LKB9aZwCgmswN
RMT1swvGZtfS1XzI2uHjipU=
=aqvg
-----END PGP SIGNATURE-----
--UlVJffcvxoiEqYs2--