Build failure on Debian stable
Nick Clifton
nickc@redhat.com
Mon Feb 19 11:30:01 GMT 2024
Hi Levente,
> CXX tui/tui-command.o
> In file included from ../../gdb/tui/tui-data.h:28,
> from ../../gdb/tui/tui-command.c:24:
> ../../gdb/../gdbsupport/gdb-checked-static-cast.h: In instantiation of ‘T gdb::checked_static_cast(V*) [with T = tui_cmd_window*; V = tui_win_info]’:
> ../../gdb/tui/tui-command.c:65:15: required from here
> ../../gdb/../gdbsupport/gdb-checked-static-cast.h:63:14: error: cannot convert from pointer to base class ‘tui_win_info’ to pointer to derived class ‘tui_cmd_window’
> because the base is virtual
> 63 | T result = static_cast<T> (v);
> | ^~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:1930: tui/tui-command.o] Error 1
> I'm not sure I miss something.
Unfortunately we cannot help you as this is the mailing list for binutils
issues, and the code above is part of GDB, not the binutils. If you resend
your email to gdb@sourceware.org you will be more likely to get some help.
If/when you do resend your email, it would help to mention which version of
the gdb sources you are compiling.
Cheers
Nick
More information about the Binutils
mailing list