This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] frame.h: Forward-declare struct ui_out
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 06 Oct 2016 18:11:11 -0400
- Subject: [binutils-gdb] frame.h: Forward-declare struct ui_out
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d73f9c4bab1a0ec82007f9d36b8a7bf5d34f7bf6 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d73f9c4bab1a0ec82007f9d36b8a7bf5d34f7bf6
frame.h: Forward-declare struct ui_out
Fixes this failure when building in C mode. I think it's relevant for master
as well, since it's a good practice to include (or forward-declare) what you
use.
In file included from ../../binutils-gdb/gdb/gdbarch.h:38:0,
from ../../binutils-gdb/gdb/defs.h:653,
from ../../binutils-gdb/gdb/dictionary.c:23:
../../binutils-gdb/gdb/frame.h:710:48: warning: struct ui_out declared inside parameter list will not be visible outside of this definition or declaration
extern void print_stack_frame_to_uiout (struct ui_out *uiout,
gdb/ChangeLog:
* frame.h: Forward-declare struct ui_out.