[Fortran f951, C++14] Fix trans-common.c compilation failure on AIX
Jakub Jelinek
jakub@redhat.com
Fri Jul 3 08:37:00 GMT 2015
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
More information about the Fortran
mailing list