Re: [PATCH] Fix gcc-5-branch build with libc++

2017-01-31 Thread Dimitry Andric
On 01 Feb 2017, at 01:23, David Edelsohn wrote: ... >> In trunk r235362, most gcc C++ sources were updated to define >> INCLUDE_xxx macros before including gcc/system.h, which fixes the >> incompatibility with libc++. However, this revision is most likely too >> disruptive to backport to the gcc-

Re: [PATCH] Fix gcc-5-branch build with libc++

2017-01-31 Thread David Edelsohn
> As discussed with the FreeBSD gcc ports maintainer, building the > gcc-5-branch with libc++ requires standard C++ headers to be included > *before* gcc/system.h, otherwise the redefinition of abort() to > fancy_abort() will cause trouble. > > In trunk r235362, most gcc C++ sources were updated to

[PATCH] Fix gcc-5-branch build with libc++

2017-01-31 Thread Dimitry Andric
As discussed with the FreeBSD gcc ports maintainer, building the gcc-5-branch with libc++ requires standard C++ headers to be included *before* gcc/system.h, otherwise the redefinition of abort() to fancy_abort() will cause trouble. In trunk r235362, most gcc C++ sources were updated to define INC