-
Notifications
You must be signed in to change notification settings - Fork 249
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
Removed warnings #1794
Removed warnings #1794
Conversation
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arg. We can't do this because this won't compile on MSVC; see #1792 (review) .
I think the best we can do here is switch the expected_messages
back to just a const size_t
, and then keep the captures. I think that should make both Windows and Clang happy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just idea, how about adding static
to share the expected_messages
compiled ROM data in the function to remove the capture?
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@clalancette and @fujitatomoya what about this solution ? I used a similar approach in other similar cases like this one https://github.com/ros2/geometry2/pull/682/files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with green CI
https://github.com/Mergifyio backport jazzy |
✅ Backports have been created
|
* Removed warnings * compile with windows * make linters happy Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com> (cherry picked from commit 88c51a1)
There are some new warnings on clang https://ci.ros2.org/view/nightly/job/nightly_linux_clang_libcxx/1993/gcc/new/folder.1817012694/