fanquake ced00f5a2e
fs: work around u8path deprecated-declaration warnings with libc++
When building in c++20 mode using libc++, the following warning is
emitted:
```bash
./fs.h:72:29: warning: 'u8path<std::string>' is deprecated [-Wdeprecated-declarations]
    return std::filesystem::u8path(utf8_str);
                            ^
/usr/lib/llvm-14/bin/../include/c++/v1/__filesystem/u8path.h:72:27: note: 'u8path<std::string>' has been explicitly marked deprecated here
_LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
                          ^
/usr/lib/llvm-14/bin/../include/c++/v1/__config:1042:43: note: expanded from macro '_LIBCPP_DEPRECATED_WITH_CHAR8_T'
                                          ^
/usr/lib/llvm-14/bin/../include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED'
                                               ^
1 warning generated.
```

as u8path<std::string> is deprecated starting with c++20.

Fixes: #24682.

Co-authored-by: MacroFake <falke.marco@gmail.com>
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
2022-08-19 08:58:56 +01:00
..
2022-07-20 15:34:36 +02:00
2022-06-20 12:22:05 +01:00
2022-08-03 09:21:53 +02:00
2022-08-03 09:21:53 +02:00
2022-07-20 15:34:36 +02:00
2022-06-20 12:22:05 +01:00
2022-07-20 15:34:36 +02:00
2022-07-20 15:34:36 +02:00
2022-07-20 10:34:46 +01:00
2022-07-20 10:34:46 +01:00
2022-08-04 11:32:25 +02:00
2022-08-10 15:09:29 +02:00
2022-07-20 10:34:46 +01:00
2022-07-20 10:34:46 +01:00
2022-08-10 10:17:54 +02:00
2022-08-04 11:32:25 +02:00
2022-08-16 17:26:28 +02:00
2022-07-26 11:05:04 +02:00
2022-07-19 14:12:33 +02:00