On Sat, 2022-03-05 at 01:03 +0530, Krishna Narayanan via Gcc-help wrote: > Hello, > I am working on this issue(PR92209) and had a query concerning it,for > this PR I have done by making the required change in text rather than > a fix-it diagnostic. Either of the two should be fine right? TL;DR gcc-help is not an ideal place to discuss this. You can send your patch to gcc-patches to get a review, or leave a comment in the bugzilla for discussion. If you only change the text, it will be: t.c:1:1: warning: a function prototype must specify the argument types [-Wstrict-prototypes] 1 | static int f(); | ^~~~~~ To me it is even worse than what we have now: t.c:1:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1 | static int f(); | ^~~~~~ -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University