This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: gdb and iso-c


Both Tom Tromey and I have brought this up before, but I'll bring
it up again.  automake includes a program (ansi2knr) which is able
to reformat ISO C code in to K&R code -- it would not be difficult
to incorporate this (without switching to automake, even; just add
it in) for targets that do not have an ISO C compiler and for which
we cannot expect the presence of the GNU tools.

I'm in favor of moving to ISO C.  It's been around a very long
time, we can move forward.  But the cost of supporting older systems
via an automated translation at compile-time is so low that it is
silly to not add in support for it.

Of course, I'm not volunteering to actually _add_ the support for it
myself. :-)  I need to start finding more free time somewhere. :-/

My two cents,

Jason

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