[Mono-bugs] [Bug 50857][Nor] New - Mono from CVS doesn't compile with GCC 2.95.3

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 12 Nov 2003 11:29:32 -0500 (EST)


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 dsegan@gmx.net.

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

--- shadow/50857	2003-11-12 11:29:32.000000000 -0500
+++ shadow/50857.tmp.24751	2003-11-12 11:29:32.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 50857
+Product: Mono/Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Slackware 8.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dsegan@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono from CVS doesn't compile with GCC 2.95.3
+
+In mono/metadata/icall.c there's a "declarassignment": declaration and
+assignment combined in the middle of the code, which doesn't work with C
+compilers which don't follow C99 (i.e. GCC 2.95.3).
+
+I'm attaching a simple patch which helped me go through the compile process.