This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 6 symbol poisoning and c++ header usage is fragile
- From: Michael Matz <matz at suse dot de>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, nd <nd at arm dot com>, Rich Felker <dalias at libc dot org>
- Date: Thu, 21 Apr 2016 14:53:16 +0200 (CEST)
- Subject: Re: GCC 6 symbol poisoning and c++ header usage is fragile
- Authentication-results: sourceware.org; auth=none
- References: <5718B57D dot 1000501 at arm dot com> <CAFiYyc00Q0J0VwYBZ8dyn5_3vLAcDAOAVgxEe7SJ5V2Qo+f9Ow at mail dot gmail dot com> <5718BE14 dot 5090203 at arm dot com>
Hi,
On Thu, 21 Apr 2016, Szabolcs Nagy wrote:
> there is also <map>, <set>, <list> usage and go-system.h is special.
> (and gmp.h includes <iosfwd> when built with c++)
>
> so i can prepare a patch with INCLUDE_{MAP,SET,LIST} and remove the
> explicit libc/libstdc++ includes.
This.
> >> auto-profile.c
> >> diagnostic.c
> >> graphite-isl-ast-to-gimple.c
> >> ipa-icf.c
> >> ipa-icf-gimple.c
> >> pretty-print.c
> >> toplev.c
But check if they really are required at all in the sources. E.g. <list>
is useless in ipa-icf-gimple.c.
Ciao,
Michael.