This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 24/36] breakpoint.h: move enum âprint_stop_actionâ
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 11 Feb 2015 12:27:59 +0000
- Subject: Re: [PATCH 24/36] breakpoint.h: move enum âprint_stop_actionâ
- Authentication-results: sourceware.org; auth=none
- References: <1423524046-20605-1-git-send-email-palves at redhat dot com> <1423524046-20605-25-git-send-email-palves at redhat dot com>
Hi Pedro,
On 09/02/15 23:20, Pedro Alves wrote:
Building GDB in C++, we get:
src/gdb/breakpoint.h:529:8: error: use of enum âprint_stop_actionâ without previous declaration
We can forward declare enums in C++.
I think you meant "can't". Patch is good to me.
--
Yao (éå)