Skip to content

Disabled std forward declarations when libc++ is 16 or newer. - #1863

Open
23rd wants to merge 1 commit into
ericniebler:masterfrom
23rd:fix-libcpp16-forward-decl
Open

Disabled std forward declarations when libc++ is 16 or newer.#1863
23rd wants to merge 1 commit into
ericniebler:masterfrom
23rd:fix-libcpp16-forward-decl

Conversation

@23rd

@23rd 23rd commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

The latest Apple clang from Xcode 27.0 beta 1 ships a libc++ that provides its own forward declarations of the standard containers.
meta.hpp also forward-declares them on Apple compilers, so now they conflict and lead to a build error.
So this PR skips them when _LIBCPP_VERSION >= 160000.

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.

1 participant