Skip to content
Snippets Groups Projects
Commit a7dea405 authored by Marcus Haehnel's avatar Marcus Haehnel Committed by Jonathan Wakely
Browse files

libstdc++: use updated type for __unexpected_handler


Commit f4130a3e 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: default avatarJonathan Wakely <jwakely@redhat.com>
parent adbc4694
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment