-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Comments
rouault
added a commit
to rouault/gdal
that referenced
this issue
Jan 8, 2025
…SR C opaque types Fixes OSGeo#11611
rouault
added a commit
to rouault/gdal
that referenced
this issue
Jan 8, 2025
…SR C opaque types Fixes OSGeo#11611
rouault
added a commit
to rouault/gdal
that referenced
this issue
Jan 8, 2025
…SR C opaque types Fixes OSGeo#11611
rouault
added a commit
to rouault/gdal
that referenced
this issue
Jan 8, 2025
…SR C opaque types Fixes OSGeo#11611
rouault
added a commit
to rouault/gdal
that referenced
this issue
Jan 8, 2025
…SR C opaque types Fixes OSGeo#11611
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
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.The text was updated successfully, but these errors were encountered: