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 gmail dot com --- Comment #13 from Nico <nico.schloemer at gmail dot com> --- Apparently, this got fixed for C++ somewhere inbetween GCC 4.9.2 and 5.1.1. ``` int main() { struct S { int a; float b; }; S s = {}; // identical to S s = {0, 0.0, std::string}; } ``` Compiled with `-Wextra`, the warning isn't present anymore for GCC 5.1.1.