https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83798
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-11 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to denis.campredon from comment #0) > In the first three warnings, just '::main' should be displayed, like when > compiled with gcc, instead of the full signature. What do you mean "when compiled with gcc"? The C front-end doesn't print "::main" because there is no :: scope resolution operator in C, and for C++ there's no difference in diagnostics whether you invoke gcc or g++. Do you just mean like the cases in PR 83797?