This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14313] fail to warn of inconsistent prototype: const char * const vs. const char *


------- Additional Comments From jsm at polyomino dot org dot uk  2004-02-27 14:19 -------
Subject: Re:  fail to warn of inconsistent prototype: const char
 * const vs. const char *

On Fri, 27 Feb 2004, rth at gcc dot gnu dot org wrote:

> Not a bug.  6.7.5.3/15: "... corresponding parameters shall have compatible
> types ...", and indeed they are.

The relevant sentence is actually the last one of that paragraph ("... and 
each parameter declared with qualified type is taken as having the 
unqualified version of its declared type").



-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]