This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: gengtype plugin improvement last4round -patch 3 [inputfile]


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.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


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