This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] h8300 Change literal reg numbers to REGNUM macros
> Richard Earnshaw <rearnsha@arm.com> writes:
>
> |> Further, it's general to talk about 'ISO' when referring to c99. I said
> |> 'ANSI', which is usually taken to refer to the original standard.
>
> I'm pretty sure that ANSI has adopted C99 too. And C89 (well, C90
> actually) was an ISO standard as well.
GDB requires ISO C, not ANSI C :-)
http://sources.redhat.com/gdb/onlinedocs/gdbint_13.html#SEC102
(Yes I need to fix the ``ISO-C'' typo, clarify which ISO C standard (in
case there are two), and yes ISO simply adopted the ANSI standard :-)
Any way, the MINIX compiler doesn't accept C++ style comments so I don't
think it can be used.... Hmmm, should see if GDB compiles on that
platform :-^
> |> And anyway, the important point here is that GDB is not being coded to c99.
>
> No sweat.
I think the important thing is to pressure GCC and BINUTILS to drop the
K&R C requirement :-)
enjoy,
Andrew