public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Warning for C Parameter Name Mismatch
@ 2019-03-08 22:25 Joel Sherrill
  2019-03-08 23:06 ` Joseph Myers
  2019-03-28  6:07 ` Eric Gallager
  0 siblings, 2 replies; 14+ messages in thread
From: Joel Sherrill @ 2019-03-08 22:25 UTC (permalink / raw)
  To: GCC

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <1552168709.15796.ezmlm@gcc.gnu.org>]

end of thread, other threads:[~2019-03-28  6:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-08 22:25 Warning for C Parameter Name Mismatch Joel Sherrill
2019-03-08 23:06 ` Joseph Myers
2019-03-08 23:36   ` David Brown
2019-03-09  2:23     ` Eric Gallager
2019-03-09  8:30       ` Jonathan Wakely
2019-03-09 17:27         ` Segher Boessenkool
2019-03-09 17:51           ` Joel Sherrill
2019-03-11 11:35             ` Jonathan Wakely
2019-03-11 11:26           ` Jonathan Wakely
2019-03-09 12:22       ` David Brown
2019-03-28  6:07 ` Eric Gallager
     [not found] <1552168709.15796.ezmlm@gcc.gnu.org>
2019-03-10  6:11 ` Basile Starynkevitch
2019-03-10 11:54   ` David Brown
2019-03-10 12:05     ` Basile Starynkevitch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).