c++/6011: compile error with overloaded methods
Wed Mar 20 05:04:00 GMT 2002
>Synopsis: compile error with overloaded methods
>Arrival-Date: Wed Mar 20 03:06:00 PST 2002
>Originator: Gergely Peli
>Release: 2.95.4, 3.0.2 still
I've encountered the following problem. When using overloaded methods (int and void * parameters), and overriding either of them in a descendant class, the other will be inaccessible. The attachment contains a one-page example. According to my c++ knowledge, this code should work. Excuse me, if it is corrected in 3.0.4.
Try compiling it :-)
Using different method names. Annoying.
More information about the Gcc-bugs