This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20175] [3.4/4.0 Regression] Warnings are issued when initializing struct members with "strings"
- 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: 23 Feb 2005 18:27:27 -0000
- Subject: [Bug c++/20175] [3.4/4.0 Regression] Warnings are issued when initializing struct members with "strings"
- References: <20050223181311.20175.gcc@magfr.user.lysator.liu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-23 18:27 -------
Confirmed, this was introduced (most likely when the patch to fix for PR 19755 was committed).
Reduced testcase:
struct c { char s[8]; int i;};
struct c a = {"hello", 1};
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-02-23 18:27:26
date| |
Summary|Warnings are issued when |[3.4/4.0 Regression]
|initializing struct members |Warnings are issued when
|with "strings" |initializing struct members
| |with "strings"
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20175