[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 changed: What|Removed |Added CC||nico.schloemer at gmail dot com --- Comment #13 f

[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 --- (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 attached a test case wi

[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 changed: What|Removed |Added CC||dcsommer at fb dot com --- Comment #

[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 --- 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 amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 --- Comment #9 from Alexander Monakov --- 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 supported by the language (you get

[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 --- 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: http://en.cppreference.com/w/cpp/language/default_initializati

[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 --- 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 write ' = {0};' to zero-initial

[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 changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #6

[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 changed: What|Removed |Added CC||jackie.rosen at hushmail dot com --- Comm

[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 changed: What|Removed |Added Status|NEW |RESOLVED 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 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=gcc&view=rev&rev=172857 Log: PR c/36750 * c-typeck.c (pop_init_le

[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 changed: What|Removed |Added Keywords||diagnostic Status|UNCON

[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 2010-11-24 12:09:33 UTC --- A related thread: http://gcc.gnu.org/ml/gcc-bugs/1998-07/msg00031.html