Skip to content

Suppress a deprecation warning.#518

Open
gonsolo wants to merge 2 commits intommp:masterfrom
gonsolo:conversion
Open

Suppress a deprecation warning.#518
gonsolo wants to merge 2 commits intommp:masterfrom
gonsolo:conversion

Conversation

@gonsolo
Copy link
Contributor

@gonsolo gonsolo commented Oct 23, 2025

The solution for the warning in string.cpp will only arrive in C++26.

The solution for the warning in string.cpp will only arrive in C++26.
@mmp
Copy link
Owner

mmp commented Oct 23, 2025

This (understandably) makes MSVC unhappy: https://github.com/mmp/pbrt-v4/actions/runs/18743826647/job/53466275265?pr=518. Can you update so that it's gcc/clang-only?

@gonsolo
Copy link
Contributor Author

gonsolo commented Oct 24, 2025

Not tested with MSVC, I hope this works.

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.

2 participants