glaze icon indicating copy to clipboard operation
glaze copied to clipboard

deprectaed in c++17 out-of-line definition of constexpr static data member

Open arturbac opened this issue 1 year ago • 1 comments

There are plenty of deprecated out of line static constexpr declarations You can easy get rid of them with clang and

target_compile_options(glaze_glaze INTERFACE -Werror=deprecated-redundant-constexpr-static-def)

which will produce errors

error: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated

arturbac avatar Jul 22 '24 09:07 arturbac

I fixed one location of this error in #1200, however most of these occur due to https://github.com/fastfloat/fast_float, and I have raised an issue there for them to be fixed.

stephenberry avatar Jul 22 '24 14:07 stephenberry