On Sun, Jan 17, 2016 at 09:09:53AM -0500, David Malcolm wrote: > libcpp/ChangeLog: > PR preprocessor/69126 > * directives.c (destringize_and_run): Add expansion_loc param; use > it when handling unexpanded pragmas to fixup the locations of the > synthesized tokens.
This change introduced a new -Wunused-function warning, because there is a prototype for destringize_and_run that has not been adjusted. I'm not removing all the unneeded prototypes right now, instead I've just fixed that one up as obvious, after bootstrap/regtest on x86_64-linux. 2016-01-28 Jakub Jelinek <ja...@redhat.com> * directives.c (destringize_and_run): Adjust prototype. --- libcpp/directives.c.jj 2016-01-27 20:30:20.000000000 +0100 +++ libcpp/directives.c 2016-01-28 09:47:44.216143047 +0100 @@ -122,7 +122,8 @@ static void do_pragma_error (cpp_reader static void do_linemarker (cpp_reader *); static const cpp_token *get_token_no_padding (cpp_reader *); static const cpp_token *get__Pragma_string (cpp_reader *); -static void destringize_and_run (cpp_reader *, const cpp_string *); +static void destringize_and_run (cpp_reader *, const cpp_string *, + source_location); static int parse_answer (cpp_reader *, struct answer **, int, source_location); static cpp_hashnode *parse_assertion (cpp_reader *, struct answer **, int); static struct answer ** find_answer (cpp_hashnode *, const struct answer *); Jakub