This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 24/36] breakpoint.h: move enum âprint_stop_actionâ


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]