Closed iamleeg closed 3 years ago
Thanks for the report.
I'm not sure why I added that line, but can you try deleting line 19 of objcxxeh.cc? It appears to be duplicating a declaration from the header, incorrectly. If that works, please raise a PR that does it.
Note: clang 3.8.1 is ancient (2016). I doubt that it will work, it definitely won't support the v2 ABI. I'd strongly recommend that you use clang 9 (2019) or later.
Thanks for your help @davidchisnall, I confirm that fixes the immediate issue and clang 3.8.1 fails because it doesn't understand class properties. I'm using that version because it's "whatever's in Debian", but I'll make the PR then upgrade the compiler and move on.
Environment
clang 3.8.1, cmake 3.15.4, on Armbian (Debian 9.13)
Steps to reproduce
Error message
What I tried
Installing llvm libc++, and using ccmake to
-DCXX_RUNTIME_LIB=/usr/lib/aarch64-linux-gnu/libc++.so
yielded this error:So I then just tried passing that constructed argument to cmake. That worked, but I get the same error.
Notes
In fairness the comment right above this line says that clang would throw a type mismatch error, I would switch to gcc except the cmake configure phase strongly advises against that: