<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:inherit;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-postaStili17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=TR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal>I am trying to build sdbusplus for phosphor-ipmi-flash host-tool. Currrently, the ubuntu version is 22.04 LTS, the gcc version is 12.1.0, g++ and c++ versions are 11.3.0. <o:p></o:p></p><p class=MsoNormal> c++-20 is used in meson.build file and it is given as a parameter. There is no latest version that i can install when i look at all c++ and g++ versions in ubuntu 22.04. I got errors about some methods of cpp libraries when I run ninja command :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>[1/52] Compiling C++ object example/calculator-server.p/calculator-server.cpp.o<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>FAILED: example/calculator-server.p/calculator-server.cpp.o <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>ccache c++ -Iexample/calculator-server.p -Iexample/gen -I../example/gen -I../include -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c++20 -O2 -g -DBOOST_ASIO_DISABLE_THREADS -DBOOST_ALL_NO_LIB -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -MD -MQ example/calculator-server.p/calculator-server.cpp.o -MF example/calculator-server.p/calculator-server.cpp.o.d -o example/calculator-server.p/calculator-server.cpp.o -c ../example/calculator-server.cpp<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from ../include/sdbusplus/server.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/server.hpp:6,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../example/calculator-server.cpp:3:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::sender(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:126:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::sender(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 126 | inline constexpr auto sender(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from /usr/include/c++/11/string:55,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../include/sdbusplus/exception.hpp:8,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/error.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../example/calculator-server.cpp:2:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>/usr/include/c++/11/bits/basic_string.h:85:11: note: ‘std::__cxx11::basic_string<char>’ is not literal because:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 85 | class basic_string<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>/usr/include/c++/11/bits/basic_string.h:85:11: note: ‘std::__cxx11::basic_string<char>’ does not have ‘constexpr’ destructor<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from ../include/sdbusplus/server.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/server.hpp:6,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../example/calculator-server.cpp:3:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::interface(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:130:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::interface(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 130 | inline constexpr auto interface(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::member(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:134:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::member(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 134 | inline constexpr auto member(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::path(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:138:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::path(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 138 | inline constexpr auto path(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::path_namespace(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:142:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::path_namespace(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 142 | inline constexpr auto path_namespace(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::destination(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:146:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::destination(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 146 | inline constexpr auto destination(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::arg0namespace(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:161:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::arg0namespace(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 161 | inline constexpr auto arg0namespace(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesAdded(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:191:30: error: invalid return type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesAdded(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 191 | inline constexpr std::string interfacesAdded(std::string_view p) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesRemoved(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:196:30: error: invalid return type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesRemoved(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 196 | inline constexpr std::string interfacesRemoved(std::string_view p) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>[2/52] Compiling C++ object example/ca...net_poettering_Calculator_server.cpp.o<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>FAILED: example/calculator-server.p/meson-generated_.._gen_net_poettering_Calculator_server.cpp.o <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>ccache c++ -Iexample/calculator-server.p -Iexample/gen -I../example/gen -I../include -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c++20 -O2 -g -DBOOST_ASIO_DISABLE_THREADS -DBOOST_ALL_NO_LIB -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -MD -MQ example/calculator-server.p/meson-generated_.._gen_net_poettering_Calculator_server.cpp.o -MF example/calculator-server.p/meson-generated_.._gen_net_poettering_Calculator_server.cpp.o.d -o example/calculator-server.p/meson-generated_.._gen_net_poettering_Calculator_server.cpp.o -c example/gen/net/poettering/Calculator/server.cpp<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from ../include/sdbusplus/server.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../include/sdbusplus/sdbuspp_support/server.hpp:3,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/server.cpp:5:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::sender(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:126:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::sender(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 126 | inline constexpr auto sender(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from /usr/include/c++/11/string:55,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/bits/locale_classes.h:40,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/bits/ios_base.h:41,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/streambuf:41,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/bits/streambuf_iterator.h:35,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/iterator:66,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/bits/ranges_algobase.h:36,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/bits/ranges_algo.h:35,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from /usr/include/c++/11/algorithm:64,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/server.cpp:1:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>/usr/include/c++/11/bits/basic_string.h:85:11: note: ‘std::__cxx11::basic_string<char>’ is not literal because:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 85 | class basic_string<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>/usr/include/c++/11/bits/basic_string.h:85:11: note: ‘std::__cxx11::basic_string<char>’ does not have ‘constexpr’ destructor<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from ../include/sdbusplus/server.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../include/sdbusplus/sdbuspp_support/server.hpp:3,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from example/gen/net/poettering/Calculator/server.cpp:5:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::interface(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:130:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::interface(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 130 | inline constexpr auto interface(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::member(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:134:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::member(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 134 | inline constexpr auto member(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::path(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:138:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::path(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 138 | inline constexpr auto path(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::path_namespace(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:142:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::path_namespace(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 142 | inline constexpr auto path_namespace(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::destination(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:146:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::destination(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 146 | inline constexpr auto destination(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr auto sdbusplus::bus::match::rules::arg0namespace(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:161:23: error: invalid return type ‘std::__cxx11::basic_string<char>’ of ‘constexpr’ function ‘constexpr auto sdbusplus::bus::match::rules::arg0namespace(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 161 | inline constexpr auto arg0namespace(std::string_view s) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesAdded(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:191:30: error: invalid return type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesAdded(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 191 | inline constexpr std::string interfacesAdded(std::string_view p) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp: In function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesRemoved(std::string_view)’:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>../include/sdbusplus/bus/match.hpp:196:30: error: invalid return type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} of ‘constexpr’ function ‘constexpr std::string sdbusplus::bus::match::rules::interfacesRemoved(std::string_view)’<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> 196 | inline constexpr std::string interfacesRemoved(std::string_view p) noexcept<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> | ^~~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>[3/52] Compiling C++ object libsdbusplus.so.1.0.0.p/src_async_match.cpp.o<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>FAILED: libsdbusplus.so.1.0.0.p/src_async_match.cpp.o <o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>ccache c++ -Ilibsdbusplus.so.1.0.0.p -I. -I.. -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c++20 -O2 -g -fPIC -MD -MQ libsdbusplus.so.1.0.0.p/src_async_match.cpp.o -MF libsdbusplus.so.1.0.0.p/src_async_match.cpp.o.d -o libsdbusplus.so.1.0.0.p/src_async_match.cpp.o -c ../src/async/match.cpp<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'>In file included from ../include/sdbusplus/async/match.hpp:4,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"inherit",serif;color:#1D1C1D;mso-fareast-language:TR'> from ../src/async/match.cpp:1...<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I could not see any documentation that contains which versions must be used to avoid getting these errors actually. Could you please give me some information about it?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>