Skip to content

Work-Around: libc++ shared_ptr array#1409

Merged
ax3l merged 1 commit intoopenPMD:devfrom
ax3l:fix-libcxx-sharedptr
Mar 29, 2023
Merged

Work-Around: libc++ shared_ptr array#1409
ax3l merged 1 commit intoopenPMD:devfrom
ax3l:fix-libcxx-sharedptr

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Mar 29, 2023

auto newData = std::shared_ptr<T[]>(new T[numPoints]);

This is an issue fixed in LLVM libc++ 11.0+.
https://godbolt.org/z/8fT4TYrdj

Follow-up to #1395

This is an issue fixed in LLVM libc++ 11+.
https://godbolt.org/z/8fT4TYrdj
@ax3l ax3l added this to the 0.15.1 milestone Mar 29, 2023
@ax3l ax3l requested a review from franzpoeschel March 29, 2023 06:20
@ax3l ax3l mentioned this pull request Mar 29, 2023
@ax3l ax3l added the install label Mar 29, 2023
@ax3l ax3l merged commit ce0f071 into openPMD:dev Mar 29, 2023
@ax3l ax3l deleted the fix-libcxx-sharedptr branch March 29, 2023 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants