[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2019-12-09 Thread marc at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Marc Mutz changed: What|Removed |Added CC||marc at kdab dot com --- Comment #15 from

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-07-24 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #14 from Manuel López-Ibáñez --- *** Bug 71985 has been marked as a duplicate of this bug. ***

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-07-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Markus Trippelsdorf changed: What|Removed |Added CC||nico at josuttis dot de ---

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-02-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2016-02-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Manuel López-Ibáñez changed: What|Removed |Added CC||mgsergio at yandex dot ru ---

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2013-11-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2013-02-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-12-22 00:06:50 UTC --- With -std=c++11, -Wno-narrowing suppresses the diagnostic required by the standard. Note that this does not affect the meaning of well-formed code;

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread david at stellarscience dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #2 from David Sankel david at stellarscience dot com 2012-12-22 00:13:33 UTC --- From what I understand, the standard requires the compiler to reject the program, not to accept it with a warning.

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2012-12-22 00:15:04 UTC --- use -Werror=Wnarrowing then

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|major |normal

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-12-22 00:27:51 UTC --- (In reply to comment #4) The standard only requires that a conforming implementation shall issue at least one diagnostic message (This is from 1.4

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread david at stellarscience dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #6 from David Sankel david at stellarscience dot com 2012-12-22 00:33:44 UTC --- I suppose which gnu extensions are, by default, enabled in the -std=c++11 mode is up for debate (one which I have no interest in). However, this program

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread david at stellarscience dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 --- Comment #7 from David Sankel david at stellarscience dot com 2012-12-22 00:42:35 UTC --- I just realized my above comment doesn't make much sense regarding the standard. Please disregard. On the other hand it seems like -pedantic should

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2012-12-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|