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

silence a few warnings noticed with -Weverything #162

Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Jun 6, 2021

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@kdt3rd kdt3rd merged commit 0ef9adc into AcademySoftwareFoundation:master Jun 7, 2021
@kdt3rd kdt3rd deleted the compile_warning_pass branch June 7, 2021 12:03
@lgritz
Copy link
Contributor

lgritz commented Jun 8, 2021

Oh crap, turns out I have software that depends on the symbol _HALF_H_ to know if it's seen the openexr/imath half.h headers. :-)

@lgritz
Copy link
Contributor

lgritz commented Jun 8, 2021

Don't worry, I can fix it on my end long before imath 3.1 is released. But it may yet turn out to plague others as well.

@kdt3rd
Copy link
Contributor Author

kdt3rd commented Jun 10, 2021

I did wonder about that, but decided to go for the change anyway. It is an argument for pragma once instead of that mechanism, although I think people still worry about symlinks and such confusing the once mechanism? If that turns out to cause grief, let me know, we can revert that and add the disable-the-warning guards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants