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
can't use c++17 with gcc 5 #9417
Comments
This is probably disabled because not all features of C++17 are supported until GCC7. |
but it's enabled with 5.1
…On Thu, 12 Aug 2021, 21:10 Arie Miller, ***@***.***> wrote:
This is probably disabled because not all features of C++17 are supported
until GCC7.
https://en.cppreference.com/w/cpp/compiler_support#cpp17
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2ORDOUTBRYMLMB4UQDEBTT4QFDHANCNFSM5CBDCQLA>
.
|
Thanks for reporting. I think this is a Conan bug, thank you for reporting. |
#9431 will fix this for 1.40, the flag added will be |
Thanks!
…On Mon, 16 Aug 2021 at 10:57, James ***@***.***> wrote:
#9431 <#9431> will fix this for
1.40, the flag added will be -std=c++1z
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2ORDKN33LRTO7LI2DAXG3T5DAIHANCNFSM5CBDCQLA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
installing with
compiler.cppstd=17 compiler=gcc compiler.version=5
fails even though GCC 5 supports c++17.This is because the checks in
conan/conans/client/build/cppstd_flags.py
Line 256 in fb5004d
'5' < '5.1'
.On the other hand, setting
compiler.version=5.4
fails due to https://github.com/conan-io/conan-package-tools/blob/e3c29b9e3e2dd72c661beff2674fc3d4f4b16a7a/cpt/builds_generator.py#L88Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
see above
Logs (Executed commands with output) (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered: