https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691

--- Comment #35 from dave.anglin at bell dot net ---
On 2019-05-22 11:03 a.m., redi at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691
>
> --- Comment #34 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> (In reply to Jonathan Wakely from comment #33)
>> The correct fix is to adjust the value of __STDCPP_DEFAULT_NEW_ALIGNMENT__
>> on targets where malloc doesn't agree with GCC's alignof(max_align_t).
> That only helps for C++17 and later though :-(
>
> The <experimental/memory_resource> header is defined for C++14.
>
Reminds me of this patch:
https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00528.html

Reply via email to