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

Add RFC95 text: Use standard C/C++ integer types #8399

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

rouault
Copy link
Member

@rouault rouault commented Sep 15, 2023

Partially rendered view here

1) Proceed with them, keep GDAL 3.8 as version number. External code will have
to use #ifdef if support for GDAL < 3.8 and >= 3.8 is needed.

2) Same as 1), but bump GDAL version number to 4.0. Cleaner way
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think doing this as a 4.0 change makes the most sense since it is a breaking change requiring changes in upstream codebases.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snowman2 @rouault I mentioned implications for Rasterio and Fiona on gdal-dev and will repeat myself here. I'm not sure what the necessary changes would be for them... they're Cython, not C, and the Cython project feels like conditional compilation directives was a mistake 😂

It's not clear to me that we can do just this https://github.com/PDAL/PDAL/pull/4179/files#diff-22b766759d40394aa74c390f2ff295b1737020f1a824e103238b60efa9e2814fR36 like for PDAL.

Introducing stubs to support type changes would be a drag, hopefully that could be avoided.

@rouault rouault marked this pull request as ready for review October 2, 2023 14:36
@rouault
Copy link
Member Author

rouault commented Oct 2, 2023

Merging as "proposed, but not adopted"

@rouault rouault merged commit c65eeca into OSGeo:master Oct 2, 2023
2 checks passed
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.

None yet

4 participants