This is the mail archive of the gcc-patches@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: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX


On Fri, Jul 03, 2015 at 10:32:38AM +0200, Richard Biener wrote:
> On Thu, Jul 2, 2015 at 10:49 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> > On Thu, Jul 02, 2015 at 04:47:13PM -0400, David Edelsohn wrote:
> >> I can change the patch to include it after system.h, if that is
> >> preferred.  That order also works on AIX.
> >
> > If including it right after system.h works, it is preapproved.
> 
> Note that after config.h is generally better (considering all the #poison
> stuff in system.h).
> 
> Not using std::map but GCCs own hash_map would be prefered though.
> (otherwise at some point we'll end up including all of libstdc++ from
> system.h given host compiler weirdness and workarounds for include
> stuff - which is what system.h is for)

Can we poison std::map and other templates we want to avoid in GCC sources,
so that people wouldn't be tempted to use it?

	Jakub


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