https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #13 from Segher Boessenkool ---
I always have -Wmissing-declarations -Wformat=2 , for some reason those aren't
in
-Wall, not even in -W . Crazy if you ask me :-)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #12 from Vincent Lefèvre ---
(In reply to Segher Boessenkool from comment #11)
> Sure. If people want the pain, they can have it. But it is never okay to
> cause other people to have -Werror -- they may have a different compiler
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #11 from Segher Boessenkool ---
(In reply to Jakub Jelinek from comment #9)
> It is not always wrong, it is a reasonable choice for some projects during
> their development, if they are willing to fix or work around all new
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #8 from Xi Ruoyao ---
(In reply to Segher Boessenkool from comment #7)
> -Werror always is wrong, for any sane users. Always. Not just "in general".
-Werror={something you really understand} may be OK. A -Werror without = is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #7 from Segher Boessenkool ---
-Werror always is wrong, for any sane users. Always. Not just "in general".
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #6 from Vincent Lefèvre ---
BTW, note that some code may be generated (instead of being written by a
human). So having some code style being an error by default would be very bad.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #5 from Vincent Lefèvre ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
--- Comment #4 from Segher Boessenkool ---
(In reply to Xi Ruoyao from comment #3)
> In GCC 14 several warnings will be turned to errors by default with C99 or a
> newer C standard. But generally -Werror should *never* be the default.
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Rich Felker changed:
What|Removed |Added
CC||bugdal at aerifal dot cx
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Segher Boessenkool changed:
What|Removed |Added
CC||segher at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89072
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Severity|normal
15 matches
Mail list logo