Set the c++ version to 23 #541
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#541
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried setting the c++ version to 23 by changing
'cpp_std=c++2a'
to'cpp_std=c++23'
inmeson.build
and I get the following compile error:Is this a Meson issue? The documentation doesn't specify
c++23
as a possible value ofcpp_std
.Maybe this issue in the Meson github repo is relevant.
For context, this was suggested by @jade as a way to allow using numeric literals with the suffix
uz
without getting a warning in a comment to this change: https://gerrit.lix.systems/c/lix/+/2045.it's not a meson issue. libexpr is very slightly broken under c++23 for cursed c++ reasons that can be fixed by giving
AttrName
an explicit destructor declaration and defining that destructor in a cpp file rather than using the implicit definitionThis issue was mentioned on Gerrit on the following CLs:
The change was merged.
fyi if you want to auto close issues after stuff gets merged, you can put "fixes #issuenum" or
fixes https://git.lix.systems/lix-project/lix/issues/541
into the commit message.