Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile warnings in deep_mind.cpp, abi_serializer.cpp, producer_plugin.cpp, auth_tests.cpp #20

Closed
linh2931 opened this issue Aug 18, 2022 · 0 comments · Fixed by #39 or AntelopeIO/spring#237
Assignees

Comments

@linh2931
Copy link
Member

linh2931 commented Aug 18, 2022

Minor warnings:

libraries/chain/deep_mind.cpp:46:4: warning: control reaches end of non-void function [-Wreturn-type]

libraries/chain/abi_serializer.cpp:80:42: warning: ‘void eosio::chain::abi_serializer::set_abi(const eosio::chain::abi_def&, const fc::microseconds&)’ is deprecated: use the overload with yield_function_t[=create_yield_function(max_serialization_time)] [-Wdeprecated-declarations]

plugins/producer_plugin/producer_plugin.cpp:1959:43: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka  ‘long int’} [-Wsign-compare]
 1959 |                if( prev_billed_plus100_us < max_trx_time.count() ) max_trx_time = fc::microseconds( prev_billed_plus100_us );

unittests/auth_tests.cpp:235:18: warning: variable ‘new_owner_priv_key’ set but not used [-Wunused-but-set-variable]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment