aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2025-02-19 20:18:52 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2025-03-06 14:40:58 +0100
commitb122afef2a584d15dbc594074bbe444c4fa74cb7 (patch)
tree7ea868326c2e2dd8158c13e641e33fff17f0dc39 /gcc
parent5029c4bd330849fd6513b290d38bce853b320c5b (diff)
downloadgcc-b122afef2a584d15dbc594074bbe444c4fa74cb7.zip
gcc-b122afef2a584d15dbc594074bbe444c4fa74cb7.tar.gz
gcc-b122afef2a584d15dbc594074bbe444c4fa74cb7.tar.bz2
libstdc++: Avoid '-Wunused-parameter' for 'is_directory' in member function 'bool std::filesystem::__cxx11::_Dir::do_unlink(bool, std::error_code&) const'
In a newlib configuration: ../../../../../source-gcc/libstdc++-v3/src/c++17/fs_dir.cc: In member function ‘bool std::filesystem::__cxx11::_Dir::do_unlink(bool, std::error_code&) const’: ../../../../../source-gcc/libstdc++-v3/src/c++17/fs_dir.cc:147:18: error: unused parameter ‘is_directory’ [-Werror=unused-parameter] 147 | do_unlink(bool is_directory, error_code& ec) const noexcept | ~~~~~^~~~~~~~~~~~ libstdc++-v3/ * src/c++17/fs_dir.cc (do_unlink): Tag 'is_directory' as '[[maybe_unused]]'.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions