bugDotGNU Portable.NET - Bugs: bug #11421, BOGUS : `override' used on a...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11421: BOGUS : `override' used on a method with no corresponding `virtual'

Submitter:  James Michael DuPont <mdupont>
Submitted:  Tue 28 Dec 2004 06:17:23 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 28 May 2005 07:32:22 AM UTC, comment #2: 

fixed in cvs

Deryk Robosson <drobosson>
Group Member
Wed 29 Dec 2004 08:37:34 AM UTC, comment #1: 

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'");
                        }
~

James Michael DuPont <mdupont>
Tue 28 Dec 2004 06:17:23 PM UTC, original submission:  

cscc  /nostdlib  ../../testcase4.cs

namespace System {
public class Object {

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

{
}
}
}

James Michael DuPont <mdupont>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-05-28 drobosson StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code