]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: test with c++26 too 31829/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 17 Mar 2024 11:20:54 +0000 (12:20 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 17 Mar 2024 11:23:07 +0000 (12:23 +0100)
The docs say that support is experimental, but it's better for us if we know
about any problems early.

Header tests pass without any issue with gcc-14.0.1-0.8.fc40.x86_64.

src/systemd/meson.build

index b1f4d4e00b4d0cf295d3f30ff9bcd73329464afc..a91d7064bbef970cb2bbf776f683ec3ff92777f3 100644 (file)
@@ -79,6 +79,7 @@ if cxx_cmd != ''
                        '-std=c++17',
                        '-std=c++20',
                        '-std=c++23',
+                       '-std=c++26',
                       ]
                 if cxx.has_argument(opt)
                         opts += [['c++', opt]]