[Mono-bugs] [Bug 46977][Blo] Changed - System.Object fails with Gtk#
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 28 Jul 2003 13:27:02 -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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=46977
--- shadow/46977 Sun Jul 27 20:01:23 2003
+++ shadow/46977.tmp.19706 Mon Jul 28 13:27:02 2003
@@ -1,14 +1,14 @@
Bug#: 46977
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Blocker
Component: Misc
AssignedTo: martin@ximian.com
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -18,6 +18,34 @@
The Gtk# build is broken with the new compiler changes.
Internal(1) error CS0104: `Object' is an ambiguous reference
(System.Object or Gtk.Object)
In programs that use Gtk#.
+
+------- Additional Comments From martin@ximian.com 2003-07-28 13:27 -------
+The gtk# breakage is NOTABUG.
+Compile the following with csc:
+
+====[A.cs]=====
+namespace Foo
+{
+ public class Object
+ { }
+}
+=====
+
+compile this into a library A.dll
+
+====[B.cs]=====
+using System;
+using Foo;
+
+class X
+{
+ static void Main ()
+ {
+ Object o = new Object ();
+ }
+}
+=====
+