Article View: gnu.g++.bug
Article #1917Re: G++ 1.34.2 overloaded virtual functions
From: Ron Guilmette
Date: Thu, 27 Apr 1989 18:34
Date: Thu, 27 Apr 1989 18:34
27 lines
1245 bytes
1245 bytes
Recently, arisia!wedekind@lll-winken.llnl.gov (Jerry Wedekind) wrote:
|G++ seems to have a bug with overloaded virtual functions. In the test case:
|
| class A {
| public:
| virtual void XXX (int);
| };
|
| class B : public A {
| public:
| void XXX (int);
| void XXX (char);
| };
|
|It complains:
|
| "test.h:9: conficting specification deriving virtual function 'void B::XXX (float)'
I have mentioned this to Michael T. and said that I believe it to be a bug.
Perhaps the fact that other C++ compilers/translators accept this without
error will serve as some confirmation of my view.
// Ron Guilmette - MCC - Experimental Systems Kit Project
// 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740
// ARPA: rfg@mcc.com
// UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg
Technical Details
Message-ID:
<8904271834.AA04197@riunite.aca.mcc.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: Re: G++ 1.34.2 overloaded virtual functions Message-ID: <8904271834.AA04197@riunite.aca.mcc.com> Date: 27 Apr 89 18:34:58 GMT Sender: bob@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 27