This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] mi/mi-out.c: Make function declarators match earlier declarations
- To: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: [PATCH] mi/mi-out.c: Make function declarators match earlier declarations
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Mon, 9 Jul 2001 11:11:32 +0300 (IDT)
- cc: gdb-patches at sources dot redhat dot com
On Sun, 8 Jul 2001, Kevin Buettner wrote:
> I've just committed the following patch as an obvious fix. I'm not
> sure why these weren't caught sooner, but the native AIX 5 compiler
> was (rightfully) complaining about the mismatch between the definition
> and declarations of certain functions...
It wasn't caught probably because not all compilers consider that as
something worth complaining about, because lots of existing code mixes
int's with enumerations.