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

Provide forward declarations of GDAL types in gdal_fwd.h #11611

Closed
hobu opened this issue Jan 8, 2025 · 1 comment · Fixed by #11613
Closed

Provide forward declarations of GDAL types in gdal_fwd.h #11611

hobu opened this issue Jan 8, 2025 · 1 comment · Fixed by #11613
Assignees
Milestone

Comments

@hobu
Copy link
Contributor

hobu commented Jan 8, 2025

Feature description

GDAL should provide forward declarations of its types in gdal_fwd.h if it is to be changing their definitions based on build configuration.

Additional context

The changes in #11314 exposed the fact that PDAL was forward declaring the GDAL objects it used in its public headers. Maybe it shouldn't be doing that, but GDAL was missing forward declarations it could simply #include. This didn't matter until #11314 started changing the definition based on build configuration. Now that GDAL is doing that, it should provide public forward declarations.

@rouault rouault added this to the 3.11.0 milestone Jan 8, 2025
@rouault rouault self-assigned this Jan 8, 2025
rouault added a commit to rouault/gdal that referenced this issue Jan 8, 2025
rouault added a commit to rouault/gdal that referenced this issue Jan 8, 2025
rouault added a commit to rouault/gdal that referenced this issue Jan 8, 2025
rouault added a commit to rouault/gdal that referenced this issue Jan 8, 2025
rouault added a commit to rouault/gdal that referenced this issue Jan 8, 2025
@hobu
Copy link
Contributor Author

hobu commented Jan 8, 2025

Addressed in PDAL at PDAL/PDAL#4608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants