hana
hana copied to clipboard
Don't use deprecated form of user-defined literal operator
I just noticed that I should have targeted master branch instead of develop, I will fix it
Please merge this fix for 1.89. We're getting a ton of warnings with clang 20.1.3.
[1086/1397] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/webassembly/action.cpp.o
In file included from /__w/spring/spring/libraries/chain/webassembly/action.cpp:1:
In file included from /__w/spring/spring/libraries/chain/include/eosio/chain/webassembly/interface.hpp:7:
In file included from /__w/spring/spring/libraries/boost/libs/hana/include/boost/hana/string.hpp:15:
In file included from /__w/spring/spring/libraries/boost/libs/hana/include/boost/hana/bool.hpp:13:
In file included from /__w/spring/spring/libraries/boost/libs/hana/include/boost/hana/fwd/bool.hpp:13:
/__w/spring/spring/libraries/boost/libs/hana/include/boost/hana/fwd/integral_constant.hpp:171:35: warning: identifier '_c' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator]
171 | constexpr auto operator"" _c();
| ~~~~~~~~~~~^~
| operator""_c
Thanks @ldionne , that was fast!