diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2025-02-19 20:39:25 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-03-06 14:40:58 +0100 |
commit | bf07f9a9832494a7270a7099195f47f2126e8e07 (patch) | |
tree | bafe0ba169c1051f4edb008ea2232ee568622aa0 /gcc | |
parent | b122afef2a584d15dbc594074bbe444c4fa74cb7 (diff) | |
download | gcc-bf07f9a9832494a7270a7099195f47f2126e8e07.zip gcc-bf07f9a9832494a7270a7099195f47f2126e8e07.tar.gz gcc-bf07f9a9832494a7270a7099195f47f2126e8e07.tar.bz2 |
libstdc++: Avoid '-Wunused-parameter' for 'out' in member function 'std::codecvt_base::result std::__format::{anonymous}::__encoding::conv(std::string_view, std::string&) const'
In a newlib configuration:
../../../../../source-gcc/libstdc++-v3/src/c++20/format.cc: In member function ‘std::codecvt_base::result std::__format::{anonymous}::__encoding::conv(std::string_view, std::string&) const’:
../../../../../source-gcc/libstdc++-v3/src/c++20/format.cc:100:35: error: unused parameter ‘out’ [-Werror=unused-parameter]
100 | conv(string_view input, string& out) const
| ~~~~~~~~^~~
libstdc++-v3/
* src/c++20/format.cc (conv): Tag 'out' as '[[maybe_unused]]'.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions