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

2023-02-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comme

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

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Bug 87656 depends on bug 87729, which changed state. Bug 87729 Summary: Please include -Woverloaded-virtual in -Wall https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729 What|Removed |Added ---

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

2022-06-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #18 from Eric Gallager --- -Wmissing-declarations came up as a possibility for this in IRC

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

2022-06-03 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #17 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #16) > Note, what is most important with this are configure scripts, if we start > warning on something still widely used in configure snippets, we'll get > silen

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

2022-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #16

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

2022-04-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #15 from David Binderman --- (In reply to Segher Boessenkool from comment #12) > The only reason to remove support for this is if it actually simplifies the > compiler code itself, which means we have to completely not support it > an

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

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #14 from Eric Gallager --- (In reply to David Binderman from comment #11) > -Wold-style-definition > > KnR style function definitions have been deprecated for about 35 years. > > Yes, there is a warning for it in gcc, but that warni

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

2022-04-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #13 from Andreas Schwab --- Like bash.

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

2022-04-28 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #12 from Segher Boessenkool --- (In reply to David Binderman from comment #11) > -Wold-style-definition > > KnR style function definitions have been deprecated for about 35 years. +1 > Yes, there is a warning for it in gcc, but tha

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

2022-04-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #11 from David Binderman --- -Wold-style-definition KnR style function definitions have been deprecated for about 35 years. Yes, there is a warning for it in gcc, but that warning isn't in either -Wall or -Wextra. Also, switching

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

2021-12-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #10 from Eric Gallager --- (In reply to Segher Boessenkool from comment #9) > (In reply to Eric Gallager from comment #8) > > Any reason not to put -Wnested-externs in -Wall or -Wextra? > > It warns for any "extern" declaration in ot

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

2021-11-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #9 from Segher Boessenkool --- (In reply to Eric Gallager from comment #8) > Any reason not to put -Wnested-externs in -Wall or -Wextra? It warns for any "extern" declaration in other than file scope. This is completely standard C,

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

2021-11-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #8 from Eric Gallager --- Any reason not to put -Wnested-externs in -Wall or -Wextra?

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

2021-10-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #7 from David Binderman --- (In reply to David Binderman from comment #6) > I'd like to vote for -Wduplicated-cond being in either -Wextra or -Wall. > > I only just found it last week (thanks to Weverything discussion) > and it is pr

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

2019-01-30 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

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

2018-11-13 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #5 from krux --- I meant -Wshadow=local.

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

2018-11-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #4 from Eric Gallager --- (In reply to krux from comment #3) > -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:

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

2018-11-13 Thread hoganmeier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 krux changed: What|Removed |Added CC||hoganmeier at gmail dot com --- Comment #3 from k

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

2018-10-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #2 from Manuel López-Ibáñez --- From: https://gcc.gnu.org/wiki/DiagnosticsGuidelines As a rough guideline, a warning option should be: enabled by default if it has (almost) no false positives (e.g., -Woverflow); added to -W

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

2018-10-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|