This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20230] GCC generates non-compliant warnings for qualifier promotion
- From: "kmk at ssl dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2005 06:03:17 -0000
- Subject: [Bug c/20230] GCC generates non-compliant warnings for qualifier promotion
- References: <20050227052446.20230.kmk@ssl.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kmk at ssl dot org 2005-02-27 06:03 -------
Exactly where does it state that you can only promote one _level_ of qualifier,
as opposed to promoting a single qualifier scope more than once?
Not only that, but even if you declare the string array this way,
char a[8], b[8];
char *const mystrings[2] = { a, b };
it _still_ fails. There is only one level of promotion left here, no matter how
you look at it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20230