-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Mimimal compiler version #5810
Comments
Oh, apparently this is outdated information, we have been in C++17 for quite a long time Line 5 in c9abf3c
Interesting that you had no problems for example with Line 52 in c9abf3c
or with pioneer/src/core/StringUtils.cpp Line 188 in c9abf3c
|
I don't know if I have no problem with those other things. The compilation on the older system stops at the std::reduce and doesn't go any further. |
Yeah, I just wanted to point out that commit eada00c does not raise the required minimal compiler version. |
So we should bump minimal GCC version from 4.9 to 9+? |
Clang 6 has 99% of C++17 support already present. All filed Defect Reports against C++17 are fully implemented as of Clang 9, though the only fixes which are not present in Clang 7 are to That being said, Clang 9 is ~4 years old at this point and can be expected to be present on most LTS distributions (e.g Ubuntu 20.04 uses Clang 10 as the default |
In COMPILING.txt it says
The commit eada00c uses
std::reduce
, which comes from c++17. This raises the required minimal compiler version.With g++ 7 cmake adds flag
-std=gnu++1z
, but thestd::reduce
is available since g++ 9.The text was updated successfully, but these errors were encountered: