[Bug web/87684] -Woverloaded-virtual is not documented

2018-10-22 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87684

--- Comment #4 from Daniel Fruzynski  ---
Thanks for the link. I have tried to google for "gcc Woverloaded-virtual" and
it did not show on the top, so I assumed that option is undocumented.

I will open new issue to add it to -Wall.

[Bug web/87684] -Woverloaded-virtual is not documented

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87684

--- Comment #3 from Jonathan Wakely  ---
(In reply to Daniel Fruzynski from comment #0)
> BTW, clang includes -Woverloaded-virtual in -Werror. Consider doing the same
> for gcc.

I suggest a separate bug for that.

[Bug web/87684] -Woverloaded-virtual is not documented

2018-10-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87684

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Jonathan Wakely  ---
It's documented here:
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html

You can always find all options for C and C++ compilers on this page, with
links to the relevant part of the manual:
https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html

*** This bug has been marked as a duplicate of bug 71283 ***

[Bug web/87684] -Woverloaded-virtual is not documented

2018-10-22 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87684

--- Comment #1 from Daniel Fruzynski  ---
Last paragraph should be "clang includes -Woverloaded-virtual in -Wall", I
noticed this too late to correct it.