This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: i18n, part 3


> Date: Sat, 29 Jan 2005 16:45:49 +0100
> From: Baurzhan Ismagulov <ibr@radix50.net>
> 
> On Thu, Jan 20, 2005 at 11:10:31PM +0200, Eli Zaretskii wrote:
> > > Is the following declaration near the end of ax-gdb.c unnecessary?
> > > 
> > > void _initialize_ax_gdb (void);
> > 
> > No, it isn't unnecessary (under certain command-line options, GCC will
> > whine if it sees a function definition without a prototype anywhere in
> > scope).
> 
> Do you mean -Wmissing-prototypes? If the goal is to detect API functions
> not declared in headers, then I'm not sure whether this human work can
> be done by the compiler. Apparently, for some reason this function
> doesn't need to be declared in the header. What is the point using this
> option, then?

I think we want our sources to compile under any combination of the
"-Wsomething" options, even the most paranoiac ones.

> > Should we have an i18n comment here explaining what's a pcb?  (You did
> > that elsewhere in the patch.)
> 
> Hmm, I thought one time would suffice. But ok, let's create a luxurious
> messages file this time :) .

Thanks, your new version is okay with me.


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