This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [COMMIT] Add missing prototype to cp-names.y
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 20 Mar 2005 11:39:22 -0500
- Subject: Re: [COMMIT] Add missing prototype to cp-names.y
- References: <200503201626.j2KGQoZE011353@elgar.sibelius.xs4all.nl>
On Sun, Mar 20, 2005 at 05:26:50PM +0100, Mark Kettenis wrote:
> Compiling with -Werror on OpenBSD failed. Turns out that yacc doesn't
> provide a prototype for yyparse, while bison does. Works for me on
> systems with and without bison.
Thanks! Typo though:
> * cp-names.y: Add prototype for yylex.
> +int yyparse (void);
--
Daniel Jacobowitz
CodeSourcery, LLC