When trying to compile with c++20 support (added in #24169) on macOS 12.3 on master I get inundated with the below warning.
0 ./configure --enable-c++20 --enable-suppress-external-warnings
 0In file included from bitcoin-cli.cpp:19:
 1In file included from ./util/system.h:20:
 2./fs.h:71:29: warning: 'u8path<std::string>' is deprecated [-Wdeprecated-declarations]
 3    return std::filesystem::u8path(utf8_str);
 4                            ^
 5/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:1570:27: note: 'u8path<std::string>' has been explicitly marked deprecated here
 6_LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
 7                          ^
 8/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1078:43: note: expanded from macro '_LIBCPP_DEPRECATED_WITH_CHAR8_T'
 9#  define _LIBCPP_DEPRECATED_WITH_CHAR8_T _LIBCPP_DEPRECATED
10                                          ^
11/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED'
12#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
13                                               ^
141 warning generated.