------- Additional Comments From joseph at codesourcery dot com  2005-02-16 
13:35 -------
Subject: Re:  warn on parameter name mismatch

On Wed, 16 Feb 2005, cyeoh at samba dot org wrote:

> I think it would be fairly unusual that you would want the prototype parameter
> names to not match the definition. It wouldn't have to warn if the parameter
> names in the prototype were deliberately omitted.

I think it's quite usual for a header to use a parameter name in a 
reserved namespace (whether the implementation namespace as in glibc 
headers, or beginning with a prefix reserved by a library).  In such a 
case, the library implementation is likely to use a shorter more 
convenient name for the parameter.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19994

Reply via email to