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.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361
nightstrike changed:
What|Removed |Added
CC||nightstrike at gmail dot com
--- Comment #
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Known to work|
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++/
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
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
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"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53361
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
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 ...
10 matches
Mail list logo