c++/6011: compile error with overloaded methods
ply@cs.elte.hu
ply@cs.elte.hu
Wed Mar 20 05:04:00 GMT 2002
>Number: 6011
>Category: c++
>Synopsis: compile error with overloaded methods
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Wed Mar 20 03:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Gergely Peli
>Release: 2.95.4, 3.0.2 still
>Organization:
>Environment:
Debian-i386
>Description:
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.
>How-To-Repeat:
Try compiling it :-)
>Fix:
Using different method names. Annoying.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list