diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2025-02-19 20:15:30 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-03-06 14:40:58 +0100 |
commit | 5029c4bd330849fd6513b290d38bce853b320c5b (patch) | |
tree | f0ed5cd7aff636e99412898e1157326b2653c962 /gcc/fortran/trans-expr.cc | |
parent | d87c0d5443ba860dcbc6be24921e0ffb463cc96f (diff) | |
download | gcc-5029c4bd330849fd6513b290d38bce853b320c5b.zip gcc-5029c4bd330849fd6513b290d38bce853b320c5b.tar.gz gcc-5029c4bd330849fd6513b290d38bce853b320c5b.tar.bz2 |
libstdc++: Avoid '-Wunused-parameter' for 'nofollow' in static member function 'static std::filesystem::__gnu_posix::DIR* std::filesystem::_Dir_base::openat(const _At_path&, bool)'
In a newlib configuration:
In file included from ../../../../../source-gcc/libstdc++-v3/src/c++17/fs_dir.cc:37,
from ../../../../../source-gcc/libstdc++-v3/src/c++17/cow-fs_dir.cc:26:
../../../../../source-gcc/libstdc++-v3/src/c++17/../filesystem/dir-common.h: In static member function ‘static std::filesystem::__gnu_posix::DIR* std::filesystem::_Dir_base::openat(const _At_path&, bool)’:
../../../../../source-gcc/libstdc++-v3/src/c++17/../filesystem/dir-common.h:210:36: error: unused parameter ‘nofollow’ [-Werror=unused-parameter]
210 | openat(const _At_path& atp, bool nofollow)
| ~~~~~^~~~~~~~
libstdc++-v3/
* src/filesystem/dir-common.h (openat): Tag 'nofollow' as
'[[maybe_unused]]'.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions