-
-
Notifications
You must be signed in to change notification settings - Fork 19
Official stance on c++17 support? #103
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
Comments
To be more precise, the specific issue:
This makes sense as starts_with (https://en.cppreference.com/w/cpp/string/basic_string/starts_with) is a c++20 feature. However now I see in cmake files that compilation is supposed to be forced to c++17 already, which makes me wonder how this change got past the tests. |
I just found two opposing pieces of cmake configuration for setting language rules: |
Another issue I found: some features that are heavily used in inkcpp are C++20-only on MSVC but pass on other compilers. For example:
|
We started the development with C++20 and at some point we noticed/thought that we do not use enough features to justify it. So we were convinced that we were compiling with C++17 Thank you for spotting the Cmake "conflict". Thank you a lot for pointing out the problem and for providing partial solutions. |
see #110 |
After recent changes, inkcpp doesn't compile with the c++17 standard. For me personally this is an issue, as I'm working with development targets whose official compiler support is stuck on c++17.
If inkcpp is supposed to officially continue to support c++17, I can try to send some PRs to enforce that (e.g. in automated tests) and clear up the small changes. If not, I will work around the issue in other ways.
The text was updated successfully, but these errors were encountered: