-
Notifications
You must be signed in to change notification settings - Fork 213
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 assimp warnings #1191
Removed assimp warnings #1191
Conversation
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@@ -29,6 +29,7 @@ else() | |||
set(ASSIMP_CMAKE_FLAGS "-DCMAKE_INSTALL_LIBDIR=lib") | |||
|
|||
set(ASSIMP_CXX_FLAGS "-std=c++14 ${CMAKE_CXX_FLAGS}") | |||
set(ASSIMP_C_FLAGS "-Wno-deprecated-non-prototype ${CMAKE_C_FLAGS}") |
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.
I'm on board with suppressing this warning, but I think we should have a comment saying why we did it (so we can possibly remove it later). Something like:
# assimp version 5.3.1 still uses K&R style function prototypes, which are deprecated as of gcc 13.2 (in Ubuntu 24.04).
# Suppress the warning here for now.
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.
Looks good with green CI. Let's make sure to run CI on RHEL as well, just to be sure.
https://github.com/Mergifyio backport jazzy |
✅ Backports have been created
|
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com> (cherry picked from commit e8dd485)
There many warnings on this CI job https://ci.ros2.org/view/nightly/job/nightly_linux_clang_libcxx/1868/clang-tidy/new/folder.-847954078/
This PR should fix them