[Mono-bugs] [Bug 45899][Wis] New - Cannot compile successful for unsafe code

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 6 Jul 2003 21:56:49 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by hfhe@stryon.com.

http://bugzilla.ximian.com/show_bug.cgi?id=45899

--- shadow/45899	Sun Jul  6 21:56:49 2003
+++ shadow/45899.tmp.31223	Sun Jul  6 21:56:49 2003
@@ -0,0 +1,64 @@
+Bug#: 45899
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: Windows 2000
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: hfhe@stryon.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot compile successful for unsafe code
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+cannot compile successful for unsafe code
+
+Steps to reproduce the problem:
+1. 
+2. 
+3. 
+
+Actual Results:
+OutArrayOfStructs.cs(17) warning CS8021: The CharSet named property on 
+StructLay
+out
+        does not work correctly on Microsoft.NET
+        You might want to remove the CharSet declaration
+        or compile using the Mono runtime instead of the
+        Microsoft .NET runtime
+OutArrayOfStructs.cs(87) error CS1502: The best overloaded match for 
+method 'voi
+d LibWrap.TestOutArrayOfStructs (out int&, MyUnsafeStruct**)' has some 
+invalid a
+rguments
+OutArrayOfStructs.cs(87) error CS1503: Argument 1: Cannot convert 
+from 'MyUnsafe
+Struct**' to 'MyUnsafeStruct**'
+OutArrayOfStructs.cs(87) error CS1502: The best overloaded match for 
+method 'voi
+d LibWrap.TestOutArrayOfStructs (out int&, out System.IntPtr&)' has some 
+invalid
+ arguments
+OutArrayOfStructs.cs(87) error CS1503: Argument 1: Cannot convert 
+from 'MyUnsafe
+Struct**' to 'out System.IntPtr&'
+OutArrayOfStructs.cs(87) error CS8006: Could not find any applicable 
+function fo
+r this argument list
+Compilation failed: 5 error(s), 1 warnings
+
+Expected Results:
+Compilation succeeded
+
+How often does this happen? 
+Each time
+
+Additional Information: