[Bug c/20230] GCC generates non-compliant warnings for qualifier promotion

kmk at ssl dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 27 17:14:00 GMT 2005

------- 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                     |


More information about the Gcc-bugs mailing list