On 3/8/19, Joel Sherrill <j...@rtems.org> wrote: > Hi > > This may be just an ignorant user question on my part. > > Can gcc report when the parameter name in a C prototype > does not match that used in the implementation? > > int f(int x); > > int f(int y) {...} > > We try to fix every warning gcc reports but this is one that gcc > doesn't report for us. It could be we need an extra -Wxxx but > we end up spotting these with Doxygen. > > Anything we are missing? > > Thanks. > > --joel >
I found bug 79022 which seems relevant to this conversation: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79022