aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2025-02-19 20:34:25 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2025-03-06 14:40:58 +0100
commitd87c0d5443ba860dcbc6be24921e0ffb463cc96f (patch)
treee32f46bd7c5a11f03b47ff12e13200e0b85e5007 /gcc
parent6eede5ad12415055ee54e5cb3218a340d383183c (diff)
downloadgcc-d87c0d5443ba860dcbc6be24921e0ffb463cc96f.zip
gcc-d87c0d5443ba860dcbc6be24921e0ffb463cc96f.tar.gz
gcc-d87c0d5443ba860dcbc6be24921e0ffb463cc96f.tar.bz2
libstdc++: Avoid '-Wunused-parameter' for '__what' in function 'void std::__throw_format_error(const char*)'
In a '-fno-exceptions' configuration: In file included from ../../../../../source-gcc/libstdc++-v3/src/c++20/format.cc:29: [...]/build-gcc/[...]/libstdc++-v3/include/format: In function ‘void std::__throw_format_error(const char*)’: [...]/build-gcc/[...]/libstdc++-v3/include/format:200:36: error: unused parameter ‘__what’ [-Werror=unused-parameter] 200 | __throw_format_error(const char* __what) | ~~~~~~~~~~~~^~~~~~ libstdc++-v3/ * include/bits/c++config [!__cpp_exceptions] (_GLIBCXX_THROW_OR_ABORT): Reference '_EXC'. Co-authored-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions