Open sergio-nsk opened 1 year ago
Have just run into this as well on Linux with clang 17, any workaround?
EDIT: for what it's worth, simply removing the mi_attr_noexcept from the definition appears to work, obviously not a satisfactory long term solution.
Environment
macOS 10.13, Xcode AppleClang 10.0.0, -std=c++17 -fno-exceptions -stdlib=libc++ macOS 12, Xcode AppleClang 13.1.6, -std=c++17 -fno-exceptions -stdlib=libc++ mimalloc v2.1.2
Details
After all macro expansions,
mi_posix_memalign
is declared likeand this substitutes clang
posix_memalign
and conflicts with it, that seems to be declared withoutnoexcept
:The whole error message: