This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype plugin improvement last4round -patch 3 [inputfile]
On Tue, Nov 9, 2010 at 1:53 AM, Andreas Schwab <schwab@redhat.com> wrote:
> Basile Starynkevitch <basile@starynkevitch.net> writes:
>
>> ? ? ? * gengtype.h:
>> ? ? ? (struct input_file_st, input_file): New type.
>> ? ? ? (struct fileloc): use it.
>
> You did bootstrap that?
>
> ../../gcc/gengtype-parse.c: In function 'type':
> ../../gcc/gengtype-parse.c:754:4: error: format '%s' expects type 'char *', but argument 2 has type 'const struct input_file *' [-Werror=format]
> ../../gcc/gengtype-parse.c:791:2: error: format '%s' expects type 'char *', but argument 2 has type 'const struct input_file *' [-Werror=format]
>
> Even a simple grep would have found it.
>
I opened:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46392
--
H.J.