[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 --- Comment #12 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:113844d68e94f4e9c0e946db351ba7d3d4a1335a commit r13-1262-g113844d68e94f4e9c0e946db351ba7d3d4a1335a Author: Jason Merrill Date: F

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2022-06-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Sta

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2010-02-19 Thread jason at gcc dot gnu dot org
--- Comment #11 from jason at gcc dot gnu dot org 2010-02-19 21:23 --- Not working on this now. -- jason at gcc dot gnu dot org changed: What|Removed |Added Assig

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2009-08-11 Thread jwakely dot gcc at gmail dot com
--- Comment #10 from jwakely dot gcc at gmail dot com 2009-08-11 14:24 --- as with bug 31937, there is overlap between this enhancement and the 'Explicit Virtual Function Overrides' paper, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2928.htm the attributes proposed in that

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2009-07-21 Thread jwakely dot gcc at gmail dot com
--- Comment #9 from jwakely dot gcc at gmail dot com 2009-07-21 17:36 --- (In reply to comment #0) > > This is also not conforming to the "specification" in > http://gcc.gnu.org/ml/gcc-bugs/1999-08n/msg01069.html > > Warn when a derived class function declaration may be an error in

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2009-07-17 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2009-07-18 06:10 --- An old patch: http://gcc.gnu.org/ml/gcc-patches/1999-03n/msg00182.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20423

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2009-07-17 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2008-11-30 Thread Woebbeking at web dot de
--- Comment #7 from Woebbeking at web dot de 2008-11-30 15:36 --- Any progress on this? This warning could be really useful if only 1) would be handled. In its current state I can't use it as I get too many "false" positives :-( -- Woebbeking at web dot de changed: What

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2007-02-16 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2007-02-16 10:01 --- A really wild-guess patch. Comments? Index: gcc/cp/class.c === --- gcc/cp/class.c (revision 121953) +++ gcc/cp/class.c (working copy) @@ -2377,

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2007-02-14 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-02-14 22:30 --- I am looking at this but it is a bit hard to see how to make the distinction between the two kinds. I don't want to introduce yet another loop in warn_hidden but perhaps that is unavoidable. Any hints? -- http://gc

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2005-11-23 Thread gdr at gcc dot gnu dot org
--- Comment #4 from gdr at gcc dot gnu dot org 2005-11-24 02:23 --- Agreed with the reporter's analysis -- gdr at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2005-03-29 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-29 14:10 --- *** Bug 20683 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2005-03-11 Thread micis at gmx dot de
--- Additional Comments From micis at gmx dot de 2005-03-11 17:30 --- I think there a two different situations: 1) in the derived class you define a method with the same name but different parameters. This is typically a serious bug in your program which can result in the exectutio

[Bug c++/20423] Warning -Woverloaded-virtual triggers to often

2005-03-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-11 15:11 --- Hmm, ICC gives: t.cc(7): warning #654: overloaded virtual function "Foo::Func" is only partially overridden in class "Baz" class Baz: public Foo ^ t.cc(14): error #165: too few arguments in funct