[Bug c/53119] -Wmissing-braces wrongly warns about universal zero initializer {0}

safinaskar at mail dot ru gcc-bugzilla@gcc.gnu.org
Sat Feb 7 00:24:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119

Askar Safin <safinaskar at mail dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safinaskar at mail dot ru

--- Comment #21 from Askar Safin <safinaskar at mail dot ru> ---
Same bug in clang: http://llvm.org/bugs/show_bug.cgi?id=21689
Related bug in POSIX: http://austingroupbugs.net/view.php?id=918

And I think this bug should be fixed even in C++, just because we should have
some uniform way to initialize addrinfo and mbstate_t in both C and C++ :)
(And gcc 4.9.2 emits warning for C++ but not for C)



More information about the Gcc-bugs mailing list