Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-03 Thread Richard Biener
On Fri, Jul 3, 2015 at 10:37 AM, Jakub Jelinek wrote: > On Fri, Jul 03, 2015 at 10:32:38AM +0200, Richard Biener wrote: >> On Thu, Jul 2, 2015 at 10:49 PM, Jakub Jelinek wrote: >> > On Thu, Jul 02, 2015 at 04:47:13PM -0400, David Edelsohn wrote: >> >> I can change the patch to include it after sy

Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-03 Thread Jakub Jelinek
On Fri, Jul 03, 2015 at 10:32:38AM +0200, Richard Biener wrote: > On Thu, Jul 2, 2015 at 10:49 PM, Jakub Jelinek 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

Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-03 Thread Richard Biener
On Thu, Jul 2, 2015 at 10:49 PM, Jakub Jelinek 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.

Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-02 Thread Jakub Jelinek
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. Jakub

Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-02 Thread David Edelsohn
On Thu, Jul 2, 2015 at 4:32 PM, Jakub Jelinek wrote: > On Thu, Jul 02, 2015 at 04:20:16PM -0400, David Edelsohn wrote: >> After the change to C++14, Fortran trans-common.c fails to compile on >> AIX due to function declaration conflicts in unistd.h. >> >> Tobias previously added use of std::map to

Re: [Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-02 Thread Jakub Jelinek
On Thu, Jul 02, 2015 at 04:20:16PM -0400, David Edelsohn wrote: > After the change to C++14, Fortran trans-common.c fails to compile on > AIX due to function declaration conflicts in unistd.h. > > Tobias previously added use of std::map to trans-common.c and included > first in the source file, b

[Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

2015-07-02 Thread David Edelsohn
After the change to C++14, Fortran trans-common.c fails to compile on AIX due to function declaration conflicts in unistd.h. Tobias previously added use of std::map to trans-common.c and included first in the source file, before any GCC configuration headers. inherently includes various system h