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

Removed assimp warnings #1191

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Removed assimp warnings #1191

merged 2 commits into from
Apr 25, 2024

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Apr 25, 2024

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Apr 25, 2024
@@ -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}")
Copy link
Contributor

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>
Copy link
Contributor

@clalancette clalancette left a 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.

@ahcorde
Copy link
Contributor Author

ahcorde commented Apr 25, 2024

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status
  • RHEL Build Status

@ahcorde ahcorde merged commit e8dd485 into rolling Apr 25, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the ahcorde/rolling/assimp_warnings branch April 25, 2024 20:20
@ahcorde
Copy link
Contributor Author

ahcorde commented Apr 25, 2024

https://github.com/Mergifyio backport jazzy

Copy link

mergify bot commented Apr 25, 2024

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Apr 25, 2024
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit e8dd485)
ahcorde added a commit that referenced this pull request Apr 26, 2024
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit e8dd485)

Co-authored-by: Alejandro Hernández Cordero <alejandro@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants