-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 set the c++ standard correctly with newer versions of nvc++ #13271
Comments
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
May 31, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
May 31, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
May 31, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Jun 29, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Jun 29, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Jul 24, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Jul 24, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Jul 26, 2024
kjmeagher
added a commit
to kjmeagher/meson
that referenced
this issue
Oct 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When you try to set cpp_std in the normal way meson errors out without event trying.
nvc++ claims that it supports the following strings
-std=c89|c90|c99|c11|c17|c18|gnu90|gnu89|gnu99|gnu11|gnu17|gnu18|c++98|c++03|c++11|c++14|c++17|c++20|c++23|gnu++98|gnu++03|gnu++11|gnu++14|gnu++17|gnu++20
To Reproduce
meson.build
project('X', 'cpp', default_options: ['cpp_std=c++23'])
run with
CXX=nvc++ meson setup build
which outpts
meson.build:1:0: ERROR: None of values ['c++23'] are supported by the C++ compiler. Possible values are ['none']
Expected behavior
everything should be build with
-std=c++23
system parameters
meson --version
1.4.1ninja --version
if it's a Ninja build. 1.11.1The text was updated successfully, but these errors were encountered: