This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 6 symbol poisoning and c++ header usage is fragile


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]