From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18089 invoked by alias); 20 Mar 2002 11:06:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 18012 invoked by uid 71); 20 Mar 2002 11:06:01 -0000 Resent-Date: 20 Mar 2002 11:06:01 -0000 Resent-Message-ID: <20020320110601.18011.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ply@cs.elte.hu Received:(qmail 13461 invoked by uid 61); 20 Mar 2002 11:03:35 -0000 Message-Id:<20020320110335.13455.qmail@sources.redhat.com> Date: Wed, 20 Mar 2002 03:06:00 -0000 From: ply@cs.elte.hu Reply-To: ply@cs.elte.hu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6011: compile error with overloaded methods X-SW-Source: 2002-03/txt/msg00750.txt.bz2 List-Id: >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: