This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [obv] Fix m2-exp.y compilation error
On Monday, January 16 2012, Jan Kratochvil wrote:
> On Mon, 16 Jan 2012 22:06:46 +0100, Sergio Durigan Junior wrote:
>> --- a/gdb/m2-exp.y
>> +++ b/gdb/m2-exp.y
> [...]
>> void
>> -yyerror (msg)
>> +yyerror (char *msg)
>> char *msg;
>> {
>> if (prev_lexptr)
>
> m2-exp.y: In function âm2_errorâ:
> m2-exp.y:1069:1: error: old-style parameter declarations in prototyped function definition
>
> Recommending to always build the tree before/after a check-in.
Sorry, I had this patch lying around but should have rebuilt it anyway.
Thank you for the fix.