[Bug c++/20060] Ambiguous MSG in array initialization when expression is not integral constant.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 18 22:26:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-18 18:28 -------
Fixed in 3.4.0 and above:
t.cc: In function `int mymain()':
t.cc:4: error: `n' cannot appear in a constant-expression

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |diagnostic
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


More information about the Gcc-bugs mailing list