On Fri, 13 Sep 2024, Jakub Jelinek wrote: > @@ -1533,7 +1536,7 @@ do_linemarker (cpp_reader *pfile) > /* Unlike #line, there does not seem to be a way to get an EOF > here. So, it should be safe to always spell the token. */ > cpp_error (pfile, CPP_DL_ERROR, > - "\"%s\" after # is not a positive integer", > + "%qs after # is not a positive integer", > cpp_token_as_text (pfile, token));
Should be %<#%>, I think. The libcpp, c-family and testsuite changes are OK with that fixed (together with reversion of "libcpp: Use ' instead of %< and %> [PR117039]" and any other fixes for recent libcpp changes, or consequent testsuite changes for changes to this patch). -- Joseph S. Myers josmy...@redhat.com