asio
asio copied to clipboard
error: ‘aligned_alloc’ is not a member of ‘std’
i got this error with boost/1.77, gcc 7.3.1; i did some digging and found: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662
but I can't upgrade compiler due to company policy; is there any way 'elegant' to bypass this ? or will there be any update or fix ?
I am facing the same issue. I think defining BOOST_ASIO_DISABLE_STD_ALIGNED_ALLOC
can be used as a workaround.
boost v1.80 : Fixed detection of std::aligned_alloc for older Apple platforms. is this relevent ?