dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #8207] System.IntPtr casts not compatible with V


From: Gopal.V
Subject: [Pnet-developers] [bugs #8207] System.IntPtr casts not compatible with VS
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

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

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

Changes by: 
                Gopal.V <address@hidden>
'Date: 
                Tue 06/08/2004 at 14:48 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS 8th June 2004






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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8207>
Project: DotGNU Portable.NET
Submitted by: Russell Stuart
On: Fri 03/19/2004 at 13:50

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  None
Status:  Closed


Summary:  System.IntPtr casts not compatible with VS

Original Submission:  This code compiles on VS without errors or warnings.  It 
does not compile under PNet.

class X {
  System.IntPtr b = (System.IntPtr)null;
  void x(System.IntPtr z) {
    x((System.IntPtr)null);
  }
}


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


-------------------------------------------------------
Date: Tue 06/08/2004 at 14:48       By: t3rmin4t0r
Fixed in CVS 8th June 2004

-------------------------------------------------------
Date: Sat 03/20/2004 at 02:12       By: rstuart
Unsafe was not used when compiling under VS.

I don't know whether the code "should" compile or not, according the ECMA.  I 
am simply saying code containing construct this _does_ compile under VS.  I 
have verified this.  I have a copy of VS. Before submitting the bug I put the 
example given in a file called x.cs, and compiled it.  I did not pass the 
compiler any special switches.  As the original buig report says, VS did not 
give any errors or warnings.

I am reporting this because I am in the process of porting NUnit to PNet.  
NUnit was obviously developed under VS.  It contains a more complex version of 
the code submitted.

Its not really about being technically right or wrong.  Its about being 
compatible with MS's implementation of C#.  I don't know if that is one of 
PNet's goals, but I thought I would submit it anyway.  If it is not one I 
PNet's goals I can always submit a patch to NUnit.

Let me know what the decision is.

-------------------------------------------------------
Date: Fri 03/19/2004 at 16:29       By: t3rmin4t0r
According to ECMA it should have been 

unsafe class X {

for that to compile , IIRC ?












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

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





reply via email to

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