This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20060] Ambiguous MSG in array initialization when expression is not integral constant.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2005 18:28:48 -0000
- Subject: [Bug c++/20060] Ambiguous MSG in array initialization when expression is not integral constant.
- References: <20050218170212.20060.msadoghi@ca.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20060