This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]