Re: Trying to find a gcc warning to detect different parameter names

2011-09-25 Thread Jonathan Wakely
On 25 September 2011 23:49, Jon Grant wrote: > > I am looking for a gcc option to give a warning when parameter names don't > match between the prototype in C, and the definition. Could someone point me > to the option if there is one please. This question is off-topic on this list which is about

Trying to find a gcc warning to detect different parameter names

2011-09-25 Thread Jon Grant
Hello I am looking for a gcc option to give a warning when parameter names don't match between the prototype in C, and the definition. Could someone point me to the option if there is one please. Example provided below, where "offset" miss-spelt "offest". (I found -Wstrict-prototypes, but t