[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2014-07-21 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #10 from nightstrike --- Oh, strange. I thought I was still experiencing this on 4.8.2. I'll check again. Sorry for the noise.

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2014-07-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #9 from Andrew Pinski --- (In reply to nightstrike from comment #8) > This SO post claims that GCC is in error: Yes and it was fixed in 4.8.

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2014-07-21 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #6 from paolo at gcc dot gnu.org 2012-05-21 22:18:05 UTC --- Author: paolo Date: Mon May 21 22:17:54 2012 New Revision: 187746 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187746 Log: 2012-05-21 Paolo Carlini PR c++/

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #5 from Paolo Carlini 2012-05-21 21:50:33 UTC --- Ah, I figured out what misled me: I added curly brackets to avoid -Wmissing-braces warnings, ie, function({{0, 0, 0}}), and like this not only the snippet doesn't trigger warnings, is

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 Paolo Carlini changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Paolo Carlini 20

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread roucaries.bastien+bugs at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #3 from Bastien ROUCARIES 2012-05-21 21:19:35 UTC --- bastien@bastien-debian:/tmp$ cat test.c #include void function(std::array a) { } int main() { // ok std::array vec {0, 0, 0}; // error: could not convert '{"hello", "world"

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-21 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/53361] Could not convert ‘{0, 0, 0}’ from ‘’ to ‘std::array’

2012-05-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361 --- Comment #1 from Andrew Pinski 2012-05-15 17:48:58 UTC --- Works on the trunk for me ...