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

Warnings as errors #938

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HifiExperiments
Copy link
Member

@HifiExperiments HifiExperiments commented Apr 16, 2024

Closes #930

Funding

This project is funded through NGI0 Entrust, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

NLnet foundation logo
NGI Zero Logo

@HifiExperiments
Copy link
Member Author

this one's failing with some kind of cmake error, but my changes to cmake were very minor...

@daleglass
Copy link
Contributor

this one's failing with some kind of cmake error, but my changes to cmake were very minor...

It's failing in glslang, it's possible the warnings as errors setting is being applied to a dependency that's building with warnings?

@HifiExperiments
Copy link
Member Author

ah that makes sense. should we pass a different set of flags to dependencies? or just only set this flag later?

@daleglass
Copy link
Contributor

I think setting it later might work?

Copy link
Contributor

@daleglass daleglass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested changes set the options in CMake instead of the environment. This stops the flags from propagating to vcpkg and breaking the dependencies.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@HifiExperiments HifiExperiments changed the base branch from protocol_changes to master October 21, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Maintenence: Fix remaining blocking warnings and turn on warnings-as-errors
2 participants