]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add suggestion to std::uncaught_exception() warning
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Feb 2022 13:17:05 +0000 (13:17 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 4 Apr 2022 11:45:29 +0000 (12:45 +0100)
commitab0efe756e22d3124a3614d2907f5df6d269b675
treea88b46539d0a25bf79b5011ad9b9f683ed05613e
parentfe76adc667b4e521705540b30b68ab988c6abbec
libstdc++: Add suggestion to std::uncaught_exception() warning

We should use the SUGGEST macro for std::uncaught_exception()
deprecation warnings.

libstdc++-v3/ChangeLog:

* include/bits/allocator.h: Qualify std::allocator_traits in
deprecated warnings.
* libsupc++/exception (uncaught_exception): Add suggestion to
deprecated warning.

(cherry picked from commit 27ba40559ccb887458009a34f710d4a22af85156)
libstdc++-v3/include/bits/allocator.h
libstdc++-v3/libsupc++/exception