[Bug c/14313] fail to warn of inconsistent prototype: const char * const vs. const char *
jsm at polyomino dot org dot uk
gcc-bugzilla@gcc.gnu.org
Fri Feb 27 14:19:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list