[Mono-bugs] [Bug 21255] New - CS527 error incorrectly reported + segfault

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
2 Mar 2002 06:41:00 -0000


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 mkestner@speakeasy.net.

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

--- shadow/21255	Sat Mar  2 01:41:00 2002
+++ shadow/21255.tmp.7250	Sat Mar  2 01:41:00 2002
@@ -0,0 +1,48 @@
+Bug#: 21255
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mkestner@speakeasy.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CS527 error incorrectly reported + segfault
+
+Description of Problem: 
+mcs built on win32 from CVS update at approx 12:00 AM 3/1/02
+mono on linux built from CVS update at approx 12:00 AM 3/2/02
+
+when executing the command:
+
+mcs -o generator.exe -r System.Xml.dll *.cs
+
+in gtk-sharp/generator CVS HEAD
+
+The following output is seen:
+
+error CS527: In Class `GtkSharp.Generation.BoxedGen', type `IGeneratable'
+is not an interface
+error CS527: In Class `GtkSharp.Generation.ObjectGen', type `IGeneratable'
+is not an interface
+error CS527: In Class `GtkSharp.Generation.StructGen', type `IGeneratable'
+is not an interface
+/mono/bin/mcs: line 2: 11109 Segmentation fault      (core dumped)
+/mono/bin/mono /mono/bin/mcs.exe 
+
+
+IGeneratable is declared in gtk-sharp/generator/IGeneratable.cs as
+
+public interface IGeneratable
+
+Looks like it is only puking on the class declarations where there is a
+base class plus an interface in the inheritance clause.  EnumGen is an
+example where the interface is the only inherited Type and it apparently
+succeeds.