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: [COMMIT] Add missing prototype to cp-names.y


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


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