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

--- Comment #5 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
Note that -Wall -Werror seem to be fine in general when they are used alone,
but this combination can be very problematic when other options are used, such
as -std=c90 -pedantic, and other warnings. So default errors need to be
restricted, e.g. rather with something like -Werror=all. But in any case, there
are currently warnings in -Wall that should not be turned into errors by
default, e.g. those related to code style (such as -Wlogical-not-parentheses)
and heuristics (such as -Wmaybe-uninitialized).

Reply via email to