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

Intel builds warn about unused code in test #1955

Closed
PhilMiller opened this issue Sep 13, 2022 · 2 comments · Fixed by #1956
Closed

Intel builds warn about unused code in test #1955

PhilMiller opened this issue Sep 13, 2022 · 2 comments · Fixed by #1956

Comments

@PhilMiller
Copy link
Member

PhilMiller commented Sep 13, 2022

Seen in CDash for Intel 18 and 19:

[476/637] Building CXX object tests/CMakeFiles/lb_basic.dir/unit/lb/test_lb_data_comm.cc.o

/.../vt/tests/unit/lb/test_lb_data_comm.cc(131): warning #177: function "vt::tests::unit::comm::<unnamed>::ReduceMsg::serialize(SerializerT &) [with SerializerT=checkpoint::Serializer]" was declared but never referenced

    void serialize(SerializerT& s) {
         ^
@PhilMiller
Copy link
Member Author

The message class is SerializeRequired, and that's probably appropriate for things used in reductions. So, let's suppress the warning

@PhilMiller
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant