Closed viniciusferrao closed 2 years ago
Not sure why this is happening since I looked in the repo and libc++ did include std::convertible_to in 13.0.0, but maybe it's an Apple thing... Anyway I added a polyfill, so please try the latest commit.
About the warnings: Most of them (the -Wunknown-attributes
ones) are telling you that the compiler plugin to automatically extract the untranslated strings is not loaded. The library still works, but it doesn't automatically generate POC files then.
I'm not sure if I should suppress these warnings. They are somewhat useful (after all is is rather easy to forget to pass the -fplugin
argument) but they are also quite ugly. Maybe I replace them with one more explicit warning instead.
Hi @zauguin, it worked. Thanks.
After digging on the issue, it seems that Apple does not implements <concepts>
. Almost the entire include file is commented out with /*
*\
.
Here's a copy of what is on my computer: https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX11.3.sdk/usr/include/c++/v1/concepts
Regarding the warnings, I don't have the plugin enabled yet. Still finding my way around the lib, so it will be away when it's properly configured.
Thank you again.
Looks like libc++ 12 (based on https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX11.3.sdk/usr/include/c%2B%2B/v1/__libcpp_version). At least it implements std::same_as
which should be the only other concept the library currently uses.
Hello, I'm trying to use library in a project but it seems that something from is missing on macOS:
This happens with Apple clang on macOS Monterey 12.2.1 (latest version as today)
Also there's a lot of warnings that I'm not sure if it's relevant or not:
There's a way to don't rely on
std::convertible_to
concept so we can use it on macOS?Thank you.