On Fri, 2020-05-29 at 01:33 +0200, Mark Wielaard wrote: > Hi, > > On Mon, May 25, 2020 at 12:26:33PM -0400, Jason Merrill wrote: > > On 5/23/20 8:30 PM, Mark Wielaard wrote: > > > When reporting an error in cp_parser and we notice a string > > > literal > > > followed by an unknown name check whether there is a known > > > standard > > > header containing a string macro with the same name, then add a > > > hint > > > to the error message to include that header. > > > > > > gcc/c-family/ChangeLog: > > > > > > * known-headers.cc > > > (get_cp_stdlib_header_for_string_macro_name): > > > New function. > > > * known-headers.h (get_c_stdlib_header_for_string_macro_name): > > > > Missing 'p'. > > > > > New function definition. > > > > Declaration, not definition. > > > > The C++ changes are OK with these ChangeLog corrections. > > Thanks. David, are you OK with the diagnostic changes?
Yes. > Who can we trick into reviewing the C frontend changes in the 1/2 > patch that this depends on? > > Cheers, > > Mark