Bug 313124 (MONO50857) - Mono from CVS doesn't compile with GCC 2.95.3
Summary: Mono from CVS doesn't compile with GCC 2.95.3
Status: RESOLVED FIXED
Alias: MONO50857
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2003-11-12 18:29 UTC by Danilo Segan
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Allow icall.c to compile with GCC 2.95.3 (703 bytes, patch)
2003-11-12 18:30 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:19:11 UTC


---- Reported by dsegan@gmx.net 2003-11-12 11:29:31 MST ----

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.



---- Additional Comments From dsegan@gmx.net 2003-11-12 11:30:36 MST ----

Created an attachment (id=165164)
Allow icall.c to compile with GCC 2.95.3




---- Additional Comments From vargaz@freemail.hu 2003-11-12 11:50:33 MST ----

Fixed in CVS.

Imported an attachment (id=165164)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Slackware 8.0</cf_op_sys_details>