dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #11421] BOGUS : `override' used on a method with


From: James Michael DuPont
Subject: [Pnet-developers] [bugs #11421] BOGUS : `override' used on a method with no corresponding `virtual'
Date: Wed, 29 Dec 2004 08:37:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #11421] Latest Modifications:

Changes by: 
                James Michael DuPont <address@hidden>
'Date: 
                Wed 12/29/2004 at 08:37 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
Here is the patch that turns this error into a workaround
Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.51
diff -u -r1.51 cs_gather.c
--- cs_gather.c 19 Jul 2004 01:42:23 -0000      1.51
+++ cs_gather.c 29 Dec 2004 08:35:39 -0000
@@ -1208,7 +1208,7 @@
                {
                        if(!ILMemberGetBase((ILMember *)methodInfo))
                        {
-                               CCErrorOnLine(yygetfilename(method), 
yygetlinenum(method),
+                               CCWarningOnLine(yygetfilename(method), 
yygetlinenum(method),
                                                          "`override' used on a 
method with no "
                                                          "corresponding 
`virtual'");
                        }
~







/**************************************************************************/
[bugs #11421] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11421>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Tue 12/28/2004 at 18:17

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  BOGUS : `override' used on a method with no corresponding `virtual'

Original Submission:  cscc  /nostdlib  ../../testcase4.cs

namespace System {
        public class Object {

                ~Object ()//../../testcase4.cs:4: `override' used on a method 
with no corresponding `virtual'

                {
                }
}
}

Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 12/29/2004 at 08:37       By: James Michael DuPont <mdupont>
Here is the patch that turns this error into a workaround
Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.51
diff -u -r1.51 cs_gather.c
--- cs_gather.c 19 Jul 2004 01:42:23 -0000      1.51
+++ cs_gather.c 29 Dec 2004 08:35:39 -0000
@@ -1208,7 +1208,7 @@
                {
                        if(!ILMemberGetBase((ILMember *)methodInfo))
                        {
-                               CCErrorOnLine(yygetfilename(method), 
yygetlinenum(method),
+                               CCWarningOnLine(yygetfilename(method), 
yygetlinenum(method),
                                                          "`override' used on a 
method with no "
                                                          "corresponding 
`virtual'");
                        }
~













For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11421>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]