[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 18 04:47:00 GMT 2018


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

--- Comment #12 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #11)
> (In reply to Jonathan Wakely from comment #10)
> > Sadly I have no better suggestion than -Wno-error=maybe-uninitialized
> 
> Move -Wmaybe-uninitialized from -Wall to -Wextra?

That sounds like a decent suggestion


More information about the Gcc-bugs mailing list