nanobench.h:2898:9: error: function 'ankerl::nanobench::Config& ankerl::nanobench::Config::operator=(ankerl::nanobench::Config&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ''
Config& Config::operator=(Config&&) noexcept = default;
^~~~~~
Hit this with some GCC 7.5.0 based cross toolchain, and for me it's locally reproducible (in Ubuntu) with g++-8 -D_GLIBCXX_USE_CXX11_ABI=0 ...
Due to GCC/libstdc++ bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58265 the string move assignment may be missing
noexcept
, resulting in build errors even with relative recent GCC versions:Hit this with some GCC 7.5.0 based cross toolchain, and for me it's locally reproducible (in Ubuntu) with
g++-8 -D_GLIBCXX_USE_CXX11_ABI=0 ...