Skip to content

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.

@lgritz
Copy link
Collaborator Author

lgritz commented Aug 28, 2025

Any objections?

@lgritz lgritz merged commit b8eb28d into AcademySoftwareFoundation:main Aug 29, 2025
25 checks passed
@lgritz lgritz deleted the lg-gcc9min branch September 1, 2025 18:41
bisqq pushed a commit to bisqq/OpenShadingLanguage that referenced this pull request Sep 25, 2025
…reFoundation#2016)

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]>
Signed-off-by: Alexandru Biscoveanu <[email protected]>
@lgritz lgritz added the build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. label Oct 15, 2025
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Oct 24, 2025
…reFoundation#2016)

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant