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

--- Comment #9 from janus at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #7)
> I expect strong negative feedback if -Wextra starts emitting
> lots of warnings about code which is not problematic.

Well, a few points here:
1) gfortran has been including these kinds of messages even with -Wall until
version 5, so having them in -Wextra is probably not too bad.
2) They may be considered useful by some people (me for example), even though
not by everyone.
3) In my understanding -Wextra is a collection of warning messages that may not
be considered useful for everyone, while -Wall is a collection that is expected
to be useful for most people (i.e. a useful default in terms of warnings). To
my mind moving -Wconversion-extra from -Wall to -Wextra is a reasonable
approach.

Reply via email to