Closed shaglund closed 5 years ago
Thanks for your PR. I want to release the dev
branch soon(TM), so could you move this over there? (Maybe you could also test if that branch generally works in Apple systems, especially string_view
might have similar problems?)
Also I am very sorry, but I have to loose some words on how we got into this situation in the first place:
But that's the world we live in, so we have to deal with it.
I applied the fix on the dev
branch and it built fine in both my c++14 project and the included unit tests. I'll create a new PR for dev
In Apple clang 11 (Xcode 11) experimental/optional emits a warning that it has been removed, i.e building with xcode 11 fails as it seems experimental::optional is available. This PR fixes that by not setting MODERN_SQLITE_EXPERIMENTAL_OPTIONAL_SUPPORT if building with Apple clang 11 or above.