This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14075] ("foo") accepted as char[] initializer
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2004 10:57:35 -0000
- Subject: [Bug c++/14075] ("foo") accepted as char[] initializer
- References: <20040208190047.14075.porten@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2004-12-09 10:57 -------
Subject: Re: ("foo") accepted as char[] initializer
On Thu, 9 Dec 2004, pinskia at gcc dot gnu dot org wrote:
> Fixed on the mainline:
> tt.c:3: warning: array initialized from parenthesized string constant
Why are you closing C++ bugs based on C testing again? You already knew
that this is a C++ bug and the C bug was fixed separately - you said as
much in comment#2.
Closing bugs that aren't fixed by testing the wrong compiler is not a
reasonable way of reducing the bug count.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14075