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: [commit] Cleanup display.c (and a bit of tracepoint.c too)


On Tue, Jul 18, 2006 at 10:56:04PM +0300, Eli Zaretskii wrote:
> > Date: Tue, 18 Jul 2006 08:31:02 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, gdb-patches@sourceware.org
> > 
> > > Aren't there compilers out there which insist on forward declarations
> > > for static functions?
> > 
> > I surely hope not; to the best of my understanding that would be a
> > violation of the C standard.
> 
> Which part of the standard invalidates that?

I don't know.  I am hopeless at finding things in the ISO C standard; I
tried.  But that's my impression, and I've never seen a report to the
contrary.

If we get a complaint from a compiler worth supporting, I'll personally
put them all back! :-)

-- 
Daniel Jacobowitz
CodeSourcery


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