[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

hoganmeier at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 14 02:26:00 GMT 2018


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

krux <hoganmeier at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoganmeier at gmail dot com

--- Comment #3 from krux <hoganmeier at gmail dot com> ---
-Wshadow, at least the local variant, would indeed be really nice in -Wall or
at least -Wextra. The global one is still too noisy because of class
constructors: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147
I always use -Wall -W -Wshadow -Wconversion -Wsign-conversion.


More information about the Gcc-bugs mailing list