[Mono-bugs] [Bug 64689][Maj] New - [regression] mcs can no longer compile IKVM

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 30 Aug 2004 17:02:17 -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 vargaz@freemail.hu.

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

--- shadow/64689	2004-08-30 17:02:17.000000000 -0400
+++ shadow/64689.tmp.9433	2004-08-30 17:02:17.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 64689
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [regression] mcs can no longer compile IKVM
+
+mcs can no longer compile the latest ikvm snapshot:
+
+http://www.frijters.net/ikvm.zip
+
+To reproduce:
+- download the package
+- go to ikvm/runtime
+- mcs /target:library /r:System.Xml -unsafe *.cs
+
+Expected results: success
+Actual results:
+
+remapper.cs(770) error CS0246: Could not find attribute 'XmlAttribute' (are
+youmissing a using directive or an assembly reference ?)
+remapper.cs(875) error CS0246: Could not find attribute 'XmlAttribute' (are
+youmissing a using directive or an assembly reference ?)
+remapper.cs(887) error CS0246: Could not find attribute 'XmlElement' (are
+you missing a using directive or an assembly reference ?)
+remapper.cs(873) error CS0246: Could not find attribute 'XmlAttribute' (are
+youmissing a using directive or an assembly reference ?)
+remapper.cs(839) error CS0246: Could not find attribute 'XmlAttribute' (are
+youmissing a using directive or an assembly reference ?)
+remapper.cs(883) error CS0246: Could not find attribute 'XmlElement' (are
+you missing a using directive or an assembly reference ?)
+...
+
+I tracked this down to the following patch:
+
+http://lists.ximian.com/archives/public/mono-patches/2004-August/045340.html
+
+In particular, this line:
+
+-				if (a.ResolveType (ec, false) == t)
++				if (a.ResolveType (ec, complain) == t)