This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [ANNOUNCEMENT] GDB 7.6 released!
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: brobecker at adacore dot com, gdb-patches at sourceware dot org
- Date: Mon, 29 Apr 2013 18:15:06 +0300
- Subject: Re: [ANNOUNCEMENT] GDB 7.6 released!
- References: <announce dot 20130426140741 dot GA13837 at adacore dot com> <83k3nptk18 dot fsf at gnu dot org> <837gjotnc9 dot fsf at gnu dot org> <20130428073805 dot GU3525 at adacore dot com> <83ip36sjxd dot fsf at gnu dot org> <20130429043214 dot GV3525 at adacore dot com> <m2obcxvjbk dot fsf at igel dot home>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
> Date: Mon, 29 Apr 2013 10:21:03 +0200
>
> Joel Brobecker <brobecker@adacore.com> writes:
>
> > I am still a little fuzzy on what "compatible" means in terms of
> > constraints for the enum type.
>
> This is a red herring. Forward-declaring an enum type is a GNU
> extension, the C standard does not allow it.
Thanks.
Regardless, I don't see a lot of sense in hiding an enumerated type in
C, it's not like doing so could prevent one from using the functions
that use it, I think.