[Mono-bugs] [Bug 76849][Wis] Changed - Can't compile assembly that uses [Obsolete(IsError=true)]-marked types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 8 10:34:39 EST 2005


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 jonpryor at vt.edu.

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

--- shadow/76849	2005-12-05 11:56:05.000000000 -0500
+++ shadow/76849.tmp.10993	2005-12-08 10:34:39.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 76849
 Product: Mono: Compilers
 Version: 1.1
 OS: other
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: marek.safar at seznam.cz                            
 ReportedBy: jonpryor at vt.edu               
 QAContact: mono-bugs at ximian.com
@@ -308,6 +308,28 @@
 ------- Additional Comments From jonpryor at vt.edu  2005-12-05 11:56 -------
 So it does.  I updated at ~7:30 AM EST (after seeing the bugzilla
 message that this was fixed), that that's when I saw the reported
 problem.  It works now.
 
 Thank you for your assistance.
+
+------- Additional Comments From jonpryor at vt.edu  2005-12-08 10:34 -------
+The gmcs merge is incomplete.  I get the following errors from
+gmcs.exe when compiling Mono.Posix, while mcs compiles without errors:
+
+./Mono.Unix/Stdlib.cs(419,27): error CS0619: `Mono.Unix.SignalHandler'
+is obsolete: `Use Mono.Unix.Native.SignalHandler'
+./Mono.Unix/Syscall.cs(2208,27): error CS0619: `Mono.Unix.Pollfd' is
+obsolete: `Use Mono.Unix.Native.Pollfd'
+
+However, this is for different code than the above examples; the
+SignalHandler error line is this:
+
+    private static readonly SignalHandler[] registered_signals;
+
+The Pollfd error line is for this
+
+    public static int poll (Pollfd [] fds, uint nfds, int timeout)
+
+Note that both of these declarations are in classes marked
+[Obsolete("message", true)], so they should compile.
+


More information about the mono-bugs mailing list