type_info availability issue when manually building LLVM 6.0.1rc3 libcxxabi on 10.6.8
Ces VLC
cesarillovlc at gmail.com
Wed Jun 27 14:06:11 UTC 2018
On Tue, Jun 26, 2018 at 3:59 PM, Ces VLC <cesarillovlc at gmail.com> wrote:
> I started with libcxxabi, and I got an error I never saw before:
>
> /Users/cesar/LLVM/6.0.1rc3/libcxxabi/src/private_typeinfo.cpp:76:19:
> error: '~type_info' is unavailable:
> introduced in macOS 10.9
> __shim_type_info::~__shim_type_info()
> ^
> /Users/cesar/LLVM/6.0.1rc3/libcxx/include/typeinfo:122:13: note:
> '~type_info' has been explicitly marked
> unavailable here
> virtual ~type_info();
>
>
>
I think I found the reason:
https://github.com/llvm-mirror/libcxx/commit/907c1196a7c153e6040dd850dc194abc62aabc80
In that commit, type_info is marked unavailable for <10.9
However, that commit is from May 2017, so it's also present in llvm 6.0.0,
and I didn't find any MacPorts patch for reverting it, so I'm wondering why
this isn't affecting MacPorts but affects me when manually building llvm...
Cheers,
César
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180627/d05725bf/attachment.html>
More information about the macports-users
mailing list