Skip to content

Fix clang -Werror complains - #291

Open
v4hn wants to merge 3 commits into
ros-industrial:melodic-develfrom
v4hn:pr-fix-clang16-werror
Open

Fix clang -Werror complains#291
v4hn wants to merge 3 commits into
ros-industrial:melodic-develfrom
v4hn:pr-fix-clang16-werror

Conversation

@v4hn

@v4hn v4hn commented Nov 30, 2023

Copy link
Copy Markdown

See the individual commits for the details.

  • mark virtual overrides as override

  • correctly define CONNECT_HANDSHAKE as unsigned

  • fix bug with erase-remove idiom

v4hn added 3 commits November 30, 2023 14:56
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

v4hn commented Nov 13, 2024

Copy link
Copy Markdown
Author

@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