Subject: NetBSD v4.99.1: Redefinition of structs in /usr/include/g++/bits/
To: None <current-users@netbsd.org>
From: Hernani Marques Madeira <hernani@vecirex.net>
List: current-users
Date: 09/17/2006 17:42:19
--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello

When compiling -current devel/pcre (v6.7) on both, a v3.0.1 and a v4.99.1=
=20
NetBSD machine, I noticed that the last one comes up with problems in=20
/usr/include/g++/bits

cpp_type_traits.h and type_traits.h both define=20
struct __true_type {};
struct __true_type {};

devel/pcre cannot compile on a v4.99.1 machine unless you work around it by
commenting out one of the definitions.

The NetBSD v3.0.1 installation only shows up this definition in type_traits=
=2Eh,
not in cpp_type_traits.h. There it works flawlessly.

--=20
hernani

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFFDWzbe4NuQfernOURAmRQAKCWiQkIeNtb7LyiuAHfrsoRzrSwPACeOPhD
o9mKag8pw1APYb2V+54xGJ4=
=lPbh
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--