[Bug c++/71456] missing -Wunused-variable on a static global initialized with another

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 9 16:26:00 GMT 2016


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

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> Speaking of -Wglobal-constructors, FSF GCC doesn't support this option. Is
> there a bug open for adding it? I couldn't find one when searching.

I couldn't find it either.  It might be a useful feature to request, either
independent of this bug, or as part of it.


More information about the Gcc-bugs mailing list