Skip to content

platform.h: Define OSL_DEPRECATED_EXTERNAL - #2138

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-deprecated
Aug 6, 2026
Merged

platform.h: Define OSL_DEPRECATED_EXTERNAL#2138
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-deprecated

Conversation

@lgritz

@lgritz lgritz commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Similar to OSL_DEPRECATED, but for things where we want it to look deprecated externally, but still need to use it internally for now and don't want the warnings when building OSL itself.

Also added OSL_CONSTEXPR23 which we don't use yet, but I should have added it previously, just happened to notice now.

Similar to OSL_DEPRECATED, but for things where we want it to look
deprecated externally, but still need to use it internally for now
and don't want the warnings when building OSL itself.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz

lgritz commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

This is over a week old, no objections, and it only adds a new macro (can't break anything that already exists), so I am merging.

@lgritz
lgritz merged commit 0d451fc into AcademySoftwareFoundation:main Aug 6, 2026
26 checks passed
@lgritz
lgritz deleted the lg-deprecated branch August 7, 2026 18:57
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