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

Do not fail Assimp build from source if warnings are emitted #44

Merged
merged 1 commit into from
May 6, 2024

Conversation

AlexTMjugador
Copy link
Contributor

Different compilers may emit different warnings when building Assimp. While it's good for the upstream Assimp project to try to minimize warnings by failing a build on a compiler warning by default, for us it creates unnecessary failure modes that are very likely to be caught upstream anyway. For example, GCC 13 as shipped on the latest Ubuntu release has an alleged compiler bug that triggers a warning, and thus fails the Assimp build, even though end-user functionality is not affected.

Let's define the CMake variable documented upstream to not treat warnings as errors, which should increase the resilience of our build from source process. Users interested in fixing the root cause of the warnings can still contribute to Assimp itself.

Different compilers may emit different warnings when building Assimp.
While it's good for the upstream Assimp project to try to minimize
warnings by failing a build on a compiler warning by default, for us it
creates unnecessary failure modes that are very likely to be caught
upstream anyway. For example, GCC 13 as shipped on the latest Ubuntu
release has an alleged compiler bug that triggers a warning, and thus
fails the Assimp build, even though end-user functionality is not
affected.

Let's define the CMake variable documented upstream to not treat
warnings as errors, which should increase the resilience of our build
from source process. Users interested in fixing the root cause of the
warnings can contribute to assimp itself.
@jkvargas jkvargas merged commit a1b5823 into jkvargas:main May 6, 2024
@jkvargas
Copy link
Owner

jkvargas commented May 6, 2024

thanks again man!

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