Skip to content

fix: bridge PointerHolder<T> to std::shared_ptr<T> for qpdf 10.x +#221

Merged
PeterStaar-IBM merged 1 commit intodocling-project:mainfrom
LalatenduMohanty:issue_220_build_failure_gcc13+
Feb 19, 2026
Merged

fix: bridge PointerHolder<T> to std::shared_ptr<T> for qpdf 10.x +#221
PeterStaar-IBM merged 1 commit intodocling-project:mainfrom
LalatenduMohanty:issue_220_build_failure_gcc13+

Conversation

@LalatenduMohanty
Copy link
Contributor

GCC 13+ rejects the implicit conversion from qpdf 10.x's PointerHolder to std::shared_ptr. Add a to_shared_ptr() shim and apply it to all getRawStreamData()/getStreamData() call sites.

Fixes #220

…C 13+

GCC 13+ rejects the implicit conversion from qpdf 10.x's
PointerHolder<T> to std::shared_ptr<T>. Add a to_shared_ptr() shim
and apply it to all getRawStreamData()/getStreamData() call sites.

Fixes docling-project#220

Signed-off-by: Lalatendu Mohanty <[email protected]>
@mergify
Copy link

mergify bot commented Feb 17, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

@github-actions
Copy link
Contributor

DCO Check Passed

Thanks @LalatenduMohanty, all your commits are properly signed off. 🎉

@PeterStaar-IBM PeterStaar-IBM self-requested a review February 19, 2026 16:08
Copy link
Member

@PeterStaar-IBM PeterStaar-IBM left a comment

Choose a reason for hiding this comment

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

looks good!

@PeterStaar-IBM PeterStaar-IBM merged commit b0817db into docling-project:main Feb 19, 2026
31 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.

Build failure with system qpdf 10.x and GCC 13+

2 participants