hana icon indicating copy to clipboard operation
hana copied to clipboard

Don't use deprecated form of user-defined literal operator

Open Thomas-Barbier-1A opened this issue 8 months ago • 1 comments

Thomas-Barbier-1A avatar Mar 17 '25 11:03 Thomas-Barbier-1A

I just noticed that I should have targeted master branch instead of develop, I will fix it

Thomas-Barbier-1A avatar Mar 17 '25 11:03 Thomas-Barbier-1A

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

greg7mdp avatar Jul 03 '25 20:07 greg7mdp

Thanks @ldionne , that was fast!

greg7mdp avatar Jul 04 '25 00:07 greg7mdp