aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-tree.h
diff options
context:
space:
mode:
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>2024-01-11 16:05:54 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-01-11 19:11:45 +0000
commita7dea405d50d7069d5bf23b9c320e3fbebf6c6b4 (patch)
tree5349820877bb8ccfb19d052262056d5be91cd924 /gcc/c/c-tree.h
parentadbc46942aee754238c1e8457b18ffb506018dc1 (diff)
downloadgcc-a7dea405d50d7069d5bf23b9c320e3fbebf6c6b4.zip
gcc-a7dea405d50d7069d5bf23b9c320e3fbebf6c6b4.tar.gz
gcc-a7dea405d50d7069d5bf23b9c320e3fbebf6c6b4.tar.bz2
libstdc++: use updated type for __unexpected_handler
Commit f4130a3eb545ab1aaf3ecb44f3d06b43e3751e04 changed the type of __expected_handler in libsupc++/unwind-cxx.h to be a std::terminate_handler to avoid a deprecated warning. However, the definition in eh_unex_handler.cc still used the old type (std::unexpected_handler) and thus causes a warning when compiling libstdc++ with -Wdeprecated-declarations (which is the default, for example, for clang). Adapt the definition to match the declaration. libstdc++-v3/ChangeLog: * libsupc++/eh_unex_handler.cc: Adjust definition type to declaration. Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc/c/c-tree.h')
0 files changed, 0 insertions, 0 deletions