🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50005

Re: g++ bug in templates+virtual?

#50005
From: Fergus Henderson
Date: Fri, 26 Nov 1993 14:48
14 lines
1180 bytes
ingres@cs.sunysb.edu (Ingres Database) writes:

>test13rep.cc: In function `int main()':
>test13rep.cc:10: inconsistent return types for method `xyz' in class `xyz<int>'
>
>If I erase 'virtual' then it's OK. If I don't use template then it's OK.
>Any ideas? Why this might be?

This looks like a bug to me.  I suggest that you read the instructions
on how to submit bugs given in the gcc manual, and then submit a bug report.


-- 
Fergus Henderson                     fjh@munta.cs.mu.OZ.AU
Technical Details
Message-ID: <9333101.435@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
References: <2cqsvi$9mp@newsserv.cs.sunysb.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,21b9496a8c19f6f5
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-26 06:54:11 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: g++ bug in templates+virtual?
Message-ID: <9333101.435@mulga.cs.mu.OZ.AU>
Keywords: bug, virtual, templates
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
References: <2cqsvi$9mp@newsserv.cs.sunysb.edu>
Date: Fri, 26 Nov 1993 14:48:09 GMT
Lines: 14