Skip to content

Conversation

@wolfv
Copy link

@wolfv wolfv commented Dec 19, 2019

It seems like Clang can compile the aligned new and delete, but then issues an error if compiling with OS X targets aiming at anything below OS X 10.12 (I assume the standard library of these older targets doesn't ship with the necessary functions).

It says: error: call to unavailable function 'operator delete': introduced in macOS 10.12
E.g. in this build log: https://travis-ci.com/wolfv/pygal/jobs/268938454

This happened to me on conda when compiling with -std=c++17 enabled (as conda-forge seems to target an OS X version of 10.9 or 10.8 at the moment).

This is the LLVM PR https://reviews.llvm.org/D34556

@virtuald
Copy link
Contributor

virtuald commented Feb 2, 2020

I don't think this is needed on master anymore, due to 759221f?

... however, it would be good to have a new pybind11 release that included that fix.

@wjakob
Copy link
Member

wjakob commented Apr 26, 2020

Closing, pybind 2.5 was released in the meantime.

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.

3 participants