-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Catch 2.2.0 on macos 10.11.6 and clang 5.0.1 #1218
Comments
Looks like the same - #1214 |
Travis config to reproduce the issue:
|
There are 2 bugs in this, one is already fixed as part of #1214, the second one is that OSX 10.11's Clang claims to support C++17 but does not provide Quick google says that 10.12 has been released September 2016, may I suggest an update? |
Better said then done. My MacBook is OK, but my desktop is too old to upgrade to 10.12 and it is my main development computer. I updated LLVM to 6.0 and got rid of the first issue ( |
Fair enough. If I find someone who can tell me how to detect OS X versions properly, I can fix it, but that will have to wait a bit. |
By inspecting LLVM's libraries it indeed seems that the only solution to be able to use C++17, Catch2 and macos is to upgrade to macos 10.12. For the moment I will fork Catch2 and change Catch's |
Maybe this workaround will help you: #ifdef __clang__ |
I've put Thanx guys for your help. |
Perhaps of interest: Pre-2017 MSVC, GCC and Clang implementation of PR 126: Fix final_action_return and final_action_error during stack unwinding |
The check was changed to use std feature macro, and allow user to override it. |
I hadn't updated my local Catch2 repo for a while and when I saw that v2.2.0 was available I pulled it, but then run into trouble. A test as simple as this
gives the following errors:
I had to revert to a commit in January to be able to keep using Catch 2. I tried several commits and stopped at 1ab6be3 as the working one.
The text was updated successfully, but these errors were encountered: