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

RFC 8 (resource embedding) follow-up: update requirements to C23 when generally availability of it #4273

Open
rouault opened this issue Oct 10, 2024 · 0 comments

Comments

@rouault
Copy link
Member

rouault commented Oct 10, 2024

"RFC-8: Embedding resource files into libproj" has a dual mode to embed resources: a C23 solution using #embed preprocessor directive, and a fallback CMake-based script otherwise.

So when we require C23 (if I understand well https://proj.org/en/9.5/community/rfc/rfc-3.html, that would mean 2 iterations of the C standard after C23 ... ?!? Not sure the C standard will iterate so much), we can drop the CMake based solution.

In a more practical sense, we should probably consider it sometimes 2 to 4 years after the last major compiler has support for it, which will be MSVC (given that clang 19.1 has now been released, and gcc 15 should likely be released somewhere april/may 2025), where there is no announced plan yet.

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

No branches or pull requests

1 participant