[Bug c/36750] -Wmissing-field-initializers relaxation request

2017-02-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #14 from Jonathan Wakely --- I think PR 61489 changed the behaviour for GCC 5.

[Bug c/36750] -Wmissing-field-initializers relaxation request

2015-08-15 Thread nico.schloemer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 Nico nico.schloemer at gmail dot com changed: What|Removed |Added CC||nico.schloemer at

[Bug c/36750] -Wmissing-field-initializers relaxation request

2015-05-11 Thread nightstrike at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #12 from nightstrike nightstrike at gmail dot com --- (In reply to Daniel Sommermann from comment #11) Created attachment 33627 [details] Test case showing overly strict warning This still produces false positives in C++11. I

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-09-30 Thread dcsommer at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 Daniel Sommermann dcsommer at fb dot com changed: What|Removed |Added CC||dcsommer at fb

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-04-15 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #9 from Alexander Monakov amonakov at gcc dot gnu.org --- My statement about zero-initialization was inaccurate (thanks), but the general point still stands: in C you have to write ' = {0}' since empty-braces initializer is not

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-04-15 Thread nightstrike at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #10 from nightstrike nightstrike at gmail dot com --- So should I open a new PR for not warning in C++? Because even the = {0} case warns there.

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-04-14 Thread nightstrike at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 nightstrike nightstrike at gmail dot com changed: What|Removed |Added CC||nightstrike at

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-04-14 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #7 from Alexander Monakov amonakov at gcc dot gnu.org --- Nightstrike, is there a particular reason you want C++ warning behavior be adjusted? Note that unlike C, in C++ you get zero-initialization by default, so you don't need to

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-04-14 Thread nightstrike at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #8 from nightstrike nightstrike at gmail dot com --- Are you sure C++ works like that? I thought that member variables in a struct would get default initialized to indeterminate values, as seen here:

[Bug c/36750] -Wmissing-field-initializers relaxation request

2014-02-16 Thread jackie.rosen at hushmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 Jackie Rosen jackie.rosen at hushmail dot com changed: What|Removed |Added CC|

[Bug c/36750] -Wmissing-field-initializers relaxation request

2011-04-22 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #3 from Alexander Monakov amonakov at gcc dot gnu.org 2011-04-22 11:53:05 UTC --- Author: amonakov Date: Fri Apr 22 11:53:01 2011 New Revision: 172857 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172857 Log: PR c/36750

[Bug c/36750] -Wmissing-field-initializers relaxation request

2011-04-22 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 Alexander Monakov amonakov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/36750] -Wmissing-field-initializers relaxation request

2010-11-24 Thread P at draigBrady dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #1 from Pádraig Brady P at draigBrady dot com 2010-11-24 12:09:33 UTC --- A related thread: http://gcc.gnu.org/ml/gcc-bugs/1998-07/msg00031.html

[Bug c/36750] -Wmissing-field-initializers relaxation request

2010-11-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic