[Bug c++/20140] template function complains about "char-array initialized from wide string"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.7.0 --- Comment #5 from Paolo Carlini 2012-01-02 16:16:52 UTC --- Fixed for 4.7.0.
[Bug c++/20140] template function complains about "char-array initialized from wide string"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140 --- Comment #4 from paolo at gcc dot gnu.org 2012-01-02 16:15:55 UTC --- Author: paolo Date: Mon Jan 2 16:15:49 2012 New Revision: 182805 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182805 Log: /cp 2012-01-02 Paolo Carlini PR c++/20140 * typeck2.c (digest_init_r): Use copy_init when initializing an array of chars. /testsuite 2012-01-02 Paolo Carlini PR c++/20140 * g++.dg/template/init9.C: New. Added: trunk/gcc/testsuite/g++.dg/template/init9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck2.c trunk/gcc/testsuite/ChangeLog
[Bug c++/20140] template function complains about "char-array initialized from wide string"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|gcc-bugs at gcc dot gnu.org | AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com --- Comment #3 from Paolo Carlini 2012-01-02 00:42:34 UTC --- On it. I see what's going wrong, fixing it should be relatively easy.
[Bug c++/20140] template function complains about "char-array initialized from wide string"
--- Comment #2 from rwxr-xr-x at gmx dot de 2008-03-13 09:28 --- Heh, this "new" bug still exists in 4.3.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140
[Bug c++/20140] template function complains about "char-array initialized from wide string"
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-02-22 12:56 --- Confirmed. This fails since gcc 2.95.3 or earlier. -- What|Removed |Added CC||reichelt at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords||monitored, rejects-valid Last reconfirmed|-00-00 00:00:00 |2005-02-22 12:56:16 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140