This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libcpp PATCH to avoid deprecated copy assignment
On Wed, May 23, 2018 at 1:33 AM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Mon, 21 May 2018, Jason Merrill wrote:
>>> broke bootstrap on systems using libc++ instead of libstdc++
>
>>> In file included from /usr/include/c++/v1/new:91:
>>> /usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
>>> _VSTD::abort();
>
>>> The problem appears to be the added #include <new>
>> Does moving the #include <new> up higher help?
>
> Yes, it does!
>
> (Tested both with a direct bootstrap and by adding this to the
> FreeBSD port of gcc9-devel; both succeeded now.)
Great, applied.
Jason