Skip to content

cleanup: Simplify some clauses involving old compilers #2016

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

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

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Aug 3, 2025

Our minimum gcc 9 and clang 5 lets us simplify a few preprocessor conditionals.

Also give more clear cmake messages when too-old compilers are encountered, for gcc, clang, and Apple clang.

Our minimum gcc 9 and clang 5 lets us simplify a few preprocessor
conditionals.

Also give more clear cmake messages when too-old compilers are
encountered, for gcc, clang, and Apple clang.

Define OSL_GCC_ONLY_PRAGMA, which is handy in the future.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz
Copy link
Collaborator Author

lgritz commented Aug 11, 2025

No comments for over a week? If there are no objections, I will merge in the relatively near future.

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.

1 participant