2 ms·
> The OS you are running the build on and the Xcode version don't influence that Usually it doesn't. But in this special case it does. I have set the flag you
by snnn 5y ago
> The OS you are running the build on and the Xcode version don't influence that
Usually it doesn't. But in this special case it does. I have set the flag you said. When C++17 wasn't in the picture, it's enough. But now we are talking about how to enable developer using the new language features. New C++ features typically need new runtime. But the old systems do have it. Then one of the difficulty is how to figure out which macOS versions have it, which doesn't.
- jcelerier 5y agoThe std::optional / std::variant case is unfortunate indeed, it's sadly an argument for using non-std versions of these types. It's also possible to cheat a bit with libc++ macros.. -D_LIBCPP_NO_EXCEPTIONS=1 does the trick (but turns exceptions into asserts). You can also link statically against libc++.