From c144d0a00df5c30aa6356c0a5280c484e467732d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 11 Mar 2024 15:13:01 +0100 Subject: [PATCH] meson.build: build fmt in C++20 mode Enables `char8_t` support which eliminates clang 18's `-Wdeprecated-declarations` warning about fmt's use of `std::string_view`. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index f7bac24e1..31c256754 100644 --- a/meson.build +++ b/meson.build @@ -10,6 +10,8 @@ project( 'build.cpp_std=c++2a', 'warning_level=3', + 'fmt:cpp_std=c++2a', + # If we build those libraries as Meson subproject, they shall be # linked statically into the MPD executable. 'curl:default_library=static',