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__)); | ^~~~~~~~~~~~~~~~~~ CXX thread-iter.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX thread.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tid-parse.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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__)); | ^~~~~~~~~~~~~~~~~~ CXX top.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 tracefile.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 tracepoint.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX trad-frame.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 tramp-frame.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-command.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 tui/tui-data.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-disasm.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-file.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-hooks.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-interp.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-io.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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-layout.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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-regs.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-source.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-stack.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui-win.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-wingeneral.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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-winsource.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX tui/tui.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:395:32: warning: argument 1 null where non-null expected [-Wnonnull] 395 | return __builtin_strlen(__s); | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/12/bits/char_traits.h:395:32: note: in a call to built-in function 'long unsigned int __builtin_strlen(const char*)' CXX type-stack.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX typeprint.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX ui-file.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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-out.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX ui-style.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/array-view-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/child-path-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/cli-utils-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/command-def-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/common-utils-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/copy_bitwise-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/environ-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/filtered_iterator-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/format_pieces-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/function-view-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/lookup_name_info-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/main-thread-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/memory-map-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/memrange-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/mkdir-recursive-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/observable-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/offset-type-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/optional-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/parse-connection-spec-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/ptid-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/rsp-low-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/scoped_fd-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/scoped_mmap-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/scoped_restore-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/string_view-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/style-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/tracepoint-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/tui-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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/unpack-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/utils-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/vec-utils-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX unittests/xml-utils-selftests.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX user-regs.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX utils.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX valarith.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX valops.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX valprint.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX value.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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__)); | ^~~~~~~~~~~~~~~~~~ CXX varobj.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ GEN stamp-version GEN xml-builtin.c CXX xml-support.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 xml-syscall.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX xml-tdesc.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX gdb.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 ada-exp.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX ada-lang.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX ada-tasks.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ CXX ada-typeprint.o cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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 (); | ^~~~~~~~~ make[3]: *** [Makefile:1606: ada-lang.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ 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:77, 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__)); | ^~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ make[3]: Leaving directory '/home/buildroot/autobuild/instance-0/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-0/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-0/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-0/output-1/build/host-gdb-arc-2020.09-release-gdb/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'