from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/stack.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX std-regs.o CXX symfile-debug.o CXX symfile.o CXX symmisc.o CXX symtab.o In file included from ../../gdb/symfile.c:39: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/symfile.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-connection.o In file included from ../../gdb/symtab.c:34: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/symtab.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/target-connection.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target-connection.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-dcache.o CXX target-descriptions.o CXX target-float.o In file included from ../../gdb/target-descriptions.c:35: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target-descriptions.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-memory.o CXX target.o CXX target/waitstatus.o CXX test-target.o CXX thread-iter.o CXX thread.o In file included from ../../gdb/target.c:27: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tid-parse.o In file included from ../../gdb/thread-iter.c:22: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/thread-iter.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/thread.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/thread.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX top.o In file included from ../../gdb/tid-parse.c:22: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tid-parse.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracectf.o In file included from ../../gdb/top.c:27: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/top.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracefile-tfile.o In file included from ../../gdb/tracectf.c:29: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracectf.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracefile.o CXX tracepoint.o In file included from ../../gdb/tracefile-tfile.c:26: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracefile-tfile.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX trad-frame.o CXX tramp-frame.o In file included from ../../gdb/tracepoint.c:31: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracepoint.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-command.o CXX tui/tui-data.o CXX tui/tui-disasm.o CXX tui/tui-file.o CXX tui/tui-hooks.o CXX tui/tui-interp.o CXX tui/tui-io.o In file included from ../../gdb/tui/tui-hooks.c:22: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-hooks.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-layout.o In file included from ../../gdb/tui/tui-interp.c:35: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-interp.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-out.o CXX tui/tui-regs.o CXX tui/tui-source.o CXX tui/tui-stack.o CXX tui/tui-win.o In file included from ../../gdb/tui/tui-regs.c:31: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-regs.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/tui/tui-stack.c:27: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-stack.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-wingeneral.o CXX tui/tui-winsource.o CXX tui/tui.o In file included from /usr/include/c++/12/string:40, from ../../gdb/../gdbsupport/common-utils.h:23, from ../../gdb/../gdbsupport/common-defs.h:125, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-win.c:27: In static member function 'static constexpr std::size_t std::char_traits::length(const char_type*)', inlined from 'constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(const _CharT*) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/string_view:134:35, inlined from 'tui_win_info* tui_partial_win_by_name(gdb::string_view)' at ../../gdb/tui/tui-win.c:663:12: /usr/include/c++/12/bits/char_traits.h:399:32: warning: argument 1 null where non-null expected [-Wnonnull] 399 | return __builtin_strlen(__s); | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/12/bits/char_traits.h:399:32: note: in a call to built-in function 'long unsigned int __builtin_strlen(const char*)' CXX type-stack.o CXX typeprint.o In file included from ../../gdb/tui/tui.c:39: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX ui-file.o CXX ui-out.o CXX ui-style.o CXX unittests/array-view-selftests.o CXX unittests/child-path-selftests.o CXX unittests/cli-utils-selftests.o CXX unittests/command-def-selftests.o CXX unittests/common-utils-selftests.o CXX unittests/copy_bitwise-selftests.o CXX unittests/environ-selftests.o CXX unittests/filtered_iterator-selftests.o CXX unittests/format_pieces-selftests.o CXX unittests/function-view-selftests.o CXX unittests/lookup_name_info-selftests.o CXX unittests/main-thread-selftests.o CXX unittests/memory-map-selftests.o CXX unittests/memrange-selftests.o CXX unittests/mkdir-recursive-selftests.o CXX unittests/observable-selftests.o CXX unittests/offset-type-selftests.o CXX unittests/optional-selftests.o CXX unittests/parse-connection-spec-selftests.o CXX unittests/ptid-selftests.o CXX unittests/rsp-low-selftests.o CXX unittests/scoped_fd-selftests.o CXX unittests/scoped_mmap-selftests.o CXX unittests/scoped_restore-selftests.o CXX unittests/string_view-selftests.o CXX unittests/style-selftests.o In file included from ../../gdb/../gdbsupport/common-defs.h:126, from ../../gdb/defs.h:28, from ../../gdb/unittests/scoped_mmap-selftests.c:20: ../../gdb/../gdbsupport/gdb_unlinker.h: In constructor 'gdb::unlinker::unlinker(const char*)': ../../gdb/../gdbsupport/gdb_assert.h:35:4: warning: 'nonnull' argument 'filename' compared to NULL [-Wnonnull-compare] 35 | ((void) ((expr) ? 0 : \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | (gdb_assert_fail (#expr, __FILE__, __LINE__, FUNCTION_NAME), 0))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../gdb/../gdbsupport/gdb_unlinker.h:38:5: note: in expansion of macro 'gdb_assert' 38 | gdb_assert (filename != NULL); | ^~~~~~~~~~ CXX unittests/tracepoint-selftests.o CXX unittests/tui-selftests.o CXX unittests/unpack-selftests.o CXX unittests/utils-selftests.o CXX unittests/vec-utils-selftests.o CXX unittests/xml-utils-selftests.o CXX user-regs.o CXX utils.o CXX valarith.o CXX valops.o CXX valprint.o In file included from ../../gdb/utils.c:57: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/utils.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/valops.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/valops.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX value.o CXX varobj.o GEN stamp-version GEN xml-builtin.c CXX xml-support.o CXX xml-syscall.o In file included from ../../gdb/varobj.c:30: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/varobj.c:18: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX xml-tdesc.o CXX gdb.o CXX ada-exp.o CXX ada-lang.o CXX ada-tasks.o CXX ada-typeprint.o In file included from ../../gdb/ada-lang.c:32: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/ada-lang.c:21: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ ../../gdb/ada-lang.c: In constructor 'ada_lookup_name_info::ada_lookup_name_info(const lookup_name_info&)': ../../gdb/ada-lang.c:13785:57: error: 'class std::basic_string_view' has no member named 'to_string' 13785 | = user_name.substr (1, user_name.size () - 2).to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13788:57: error: 'class std::basic_string_view' has no member named 'to_string' 13788 | = user_name.substr (1, user_name.size () - 1).to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13807:40: error: 'using string_view = using string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'to_string' 13807 | m_encoded_name = user_name.to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13810:36: error: 'using string_view = using string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'to_string' 13810 | m_encoded_name = user_name.to_string (); | ^~~~~~~~~ In file included from ../../gdb/ada-tasks.c:24: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:76, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/ada-tasks.c:18: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:1606: ada-lang.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb' make[2]: *** [Makefile:9430: all-gdb] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make[1]: *** [Makefile:854: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'