Bug 317178 (MONO72563) - [PATCH] support for pre-ISO-C99 compilers
Summary: [PATCH] support for pre-ISO-C99 compilers
Status: RESOLVED FIXED
Alias: MONO72563
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other SuSE 7.3
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 21:56 UTC by Robert Jordan
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
Diff against /trunk/mono/mono/mini/declsec.c (602 bytes, patch)
2005-02-13 21:57 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 19:07:13 UTC


---- Reported by robertj@gmx.net 2005-02-13 14:56:00 MST ----

Statement-before-declaration issue ;-)



---- Additional Comments From robertj@gmx.net 2005-02-13 14:57:12 MST ----

Created an attachment (id=167400)
Diff against /trunk/mono/mono/mini/declsec.c




---- Additional Comments From vargaz@gmail.com 2005-02-13 15:45:42 MST ----

Applied, but please be aware that the core developers do not use
gcc-2.95, and gcc versions prior to 3.4 do not have the ability to warn
against these constructs. So this thing will again happen in the future.



---- Additional Comments From robertj@gmx.net 2005-02-13 18:07:47 MST ----

Do you still want these patches? I really don't want to bother
you with them!

I was just suprised to find these issues because every
public release compiled just fine with gcc 2.95 until I switched
to HEAD. So I'm assuming you're fixing them just before a
public release. Is that true?

bye
Rob




---- Additional Comments From dick@ximian.com 2005-02-14 09:50:02 MST ----

I used to work with gcc-2.95 and regularly checked in fixes for it,
but I changed distro.  That might explain why the errors don't get
spotted nowadays.




---- Additional Comments From lupus@ximian.com 2005-02-14 10:09:31 MST ----

Robert, please keep the patches coming: besides gcc 2.95 there
are also compilers on non linux platforms that don't support C99 yet.
Thanks!

Imported an attachment (id=167400)