[Bug c++/37932] narrowing conversion with -std=c++0x

2008-11-14 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2008-11-14 16:11 --- The initialization of arr is ill-formed in C++0x because of narrowing from int to char. The initialization of s is well-formed; that bug has been fixed for 4.4. The initialization of t is ill-formed in C++98 because

[Bug c++/37932] narrowing conversion with -std=c++0x

2008-11-13 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2008-11-14 05:26 --- Subject: Bug 37932 Author: jason Date: Fri Nov 14 05:24:59 2008 New Revision: 141846 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141846 Log: PR c++/37932 * typeck2.c (process_init_constructo

[Bug c++/37932] narrowing conversion with -std=c++0x

2008-11-13 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2008-11-14 04:17 --- Subject: Bug 37932 Author: jason Date: Fri Nov 14 04:16:07 2008 New Revision: 141844 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141844 Log: PR c++/37932 * typeck2.c (process_init_constructo

[Bug c++/37932] narrowing conversion with -std=c++0x

2008-11-13 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2008-11-14 00:39 --- Subject: Bug 37932 Author: jason Date: Fri Nov 14 00:38:20 2008 New Revision: 141843 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141843 Log: PR c++/37932 * typeck2.c (process_init_constructo

[Bug c++/37932] narrowing conversion with -std=c++0x

2008-11-12 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/37932] narrowing conversion with -std=c++0x

2008-10-28 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-10-28 15:41 --- Jason, what you think about this? In any case, there are some issues with this code: First, it would be better to print the type of the expression (%qT) rather than the expression itself (%qE), because it is informati