Re: PR 89864 - gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread Iain Sandoe
Hi Erik, > On 4 Apr 2019, at 12:56, Erik Schnetter wrote: > > On Thu, Apr 4, 2019 at 3:11 AM Iain Sandoe wrote: > What doesn't work was that this requires changing . If only > can be changed, then it is not possible to replace _Atomic > ulong by _Atomic(ulong) (adding parentheses). I'll try

Re: PR 89864 - gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread Erik Schnetter
On Thu, Apr 4, 2019 at 3:11 AM Iain Sandoe wrote: > Hi Eric, > > Thanks for working on this! > > > On 4 Apr 2019, at 04:00, Erik Schnetter wrote: > > > > Fixinclude the header file that incorrectly uses the C-only > > _Atomic keyword when compiled as C++. Apply the same work-around for two > >

Re: PR 89864 - gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread Iain Sandoe
Hi Eric, Thanks for working on this! > On 4 Apr 2019, at 04:00, Erik Schnetter wrote: > > Fixinclude the header file that incorrectly uses the C-only > _Atomic keyword when compiled as C++. Apply the same work-around for two > GCC source files that transitively use this header file. 1/ If the

PR 89864 - gcc fails to build/bootstrap with XCode 10.2

2019-04-03 Thread Erik Schnetter
Fixinclude the header file that incorrectly uses the C-only _Atomic keyword when compiled as C++. Apply the same work-around for two GCC source files that transitively use this header file. Index: fixincludes/inclhack.def === --- fix