[Bug c/76732] Improve Woverride-init
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 17 02:33:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76732
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCC should warn on repeated |Improve Woverride-init
|initializer for same array |
|element / struct member. |
Severity|normal |enhancement
--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
> Surprised -Wall doesn't set -Woverride-init then; presume this was a
> conscious decision?
It is enabled by -Wextra. You can find the rationale here: PR24010
Clang warns by default.
More information about the Gcc-bugs
mailing list