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

Fix clang -Werror complains #291

Open
wants to merge 3 commits into
base: melodic-devel
Choose a base branch
from

Conversation

v4hn
Copy link

@v4hn v4hn commented Nov 30, 2023

See the individual commits for the details.

  • mark virtual overrides as override

  • correctly define CONNECT_HANDSHAKE as unsigned

  • fix bug with erase-remove idiom

clang -Werror complains about the obsolete `virtual` definition these
days.
`char` is signed by default and `142 > std::numeric_limits<char>::max()`
so clang -Werror complained.
clang 16 notices the unused return value.
@v4hn
Copy link
Author

v4hn commented Nov 13, 2024

@gavanderhoorn any chance you could merge so we don't have to carry more and more bugfixes in the ros-o fork?

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

Successfully merging this pull request may close these issues.

1 participant