Skip to content

Comments

Use gdal_fwd.hpp when available for forward declarations#4608

Merged
hobu merged 3 commits intomasterfrom
issue-4607
Jan 10, 2025
Merged

Use gdal_fwd.hpp when available for forward declarations#4608
hobu merged 3 commits intomasterfrom
issue-4607

Conversation

@hobu
Copy link
Member

@hobu hobu commented Jan 8, 2025

Addresses #4607

@hobu hobu added the bug label Jan 8, 2025
@hobu hobu added this to the 2.9.0 milestone Jan 8, 2025
@hobu hobu linked an issue Jan 8, 2025 that may be closed by this pull request
nalizing based on GDAL_COMPUTE_VERSION
@hobu hobu changed the title take advantage of gdal_fwd.hpp when available in GDAL 3.11+ Use gdal_fwd.hpp when available for forward declarations Jan 9, 2025
@abellgithub
Copy link
Contributor

Looks fine. I might check around to see if we're doing that same thing in other places -- it wouldn't surprise me.

@hobu hobu merged commit 80b977d into master Jan 10, 2025
21 of 22 checks passed
@hobu hobu deleted the issue-4607 branch January 10, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forward OGR type declarations are fragile

2 participants