[PATCH] fix warnings in treelang/parse.y

Rafael Ávila de Espíndola rafael.espindola@gmail.com
Sat Sep 17 04:07:00 GMT 2005


The attached patch fixes the following warnings

../../gcc/gcc/treelang/parse.y: In function yyparse:
../../gcc/gcc/treelang/parse.y:532: warning: too many arguments for format
../../gcc/gcc/treelang/parse.y:641: warning: conversion lacks type at end of 
format

I am not sure if this is the best fix. I could not find much documentation 
about the syntax of the format string of "error" and "warning". Because of 
this, I have used similar messages present in other parts of gcc as examples.

bootstrapped and tested (make check-treelang) in i686.

Rafael

2005-09-13  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>

                  * parse.y :  Fixed two compile warnings in "error" and 
"warning" invocations
-------------- next part --------------
A non-text attachment was scrubbed...
Name: treelang-warning.patch
Type: text/x-diff
Size: 1368 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050917/c8d5c591/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050917/c8d5c591/attachment.sig>


More information about the Gcc mailing list