C++ 20 modules
Nathan Sidwell
nathan@acm.org
Mon Dec 21 17:45:13 GMT 2020
On 12/21/20 12:38 PM, Gerald Pfeifer wrote:
> O Mon, 21 Dec 2020, Nathan Sidwell wrote:
>>> /scratch/tmp/gerald/GCC-HEAD/gcc/cp/mapper-client.cc:31:
>>> In file included from
>>> /scratch/tmp/gerald/GCC-HEAD/gcc/cp/mapper-client.h:26:
>>> In file included from
>>> /scratch/tmp/gerald/GCC-HEAD/gcc/../libcody/cody.hh:24:
>>> In file included from /usr/include/c++/v1/memory:653:
>>> /usr/include/c++/v1/typeinfo:346:5: error: no member named 'fancy_abort'
>>> in namespace 'std::__1'; did you mean simply 'fancy_abort'?
>>> _VSTD::abort();
>>> ^~~~~~~
>>> /usr/include/c++/v1/__config:782:15: note: expanded from macro '_VSTD'
>>> #define _VSTD std::_LIBCPP_ABI_NAMESPACE
>> Care to try this?
>
> Thank you, Nathan!
>
> This made a difference, though it appears a similar change is needed
> for gcc/cp/module.cc as well, which also includes mapper-client.h.
>
> Please find an extended patch attached.
>
> (Bootstrap is still running, but has progressed farther than
> without your patch or your original patch alone, and already
> is in libstdc++ now.)
Yes, this is good. I already managed to commit some of this with the
98412 patch.
nathan
--
Nathan Sidwell
More information about the Gcc-patches
mailing list