[Mono-bugs] [Bug 671878] misordered exception clauses when compiling againt 2.1 (moonlight)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 15 08:41:51 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=671878

https://bugzilla.novell.com/show_bug.cgi?id=671878#c7


--- Comment #7 from Sebastien Pouliot <spouliot at novell.com> 2011-02-15 13:41:50 UTC ---
Likely true - but that does not answer comment #5 ;-) 

I'll take this as the smcs script being bad (as it refers to
class/lib/basic/mcs.exe). However the issue was not limited to using the 'smcs'
script.

In case comment #3 was not clear...

[mono] ~/src/bugzilla @ which mcs
/opt/mono/bin/mcs

[mono] ~/src/bugzilla @ cat /opt/mono/bin/mcs
#!/bin/sh
exec /opt/mono/bin/mono $MONO_OPTIONS /opt/mono/lib/mono/4.0/mcs.exe -sdk:2
"$@"

[mono] ~/src/bugzilla @ mcs ex.cs
ex.cs(11,17): warning CS0162: Unreachable code detected
Compilation succeeded - 1 warning(s)

[mono] ~/src/bugzilla @ mono ex.exe
Exception thrown2: System.Net.WebException: uho
  at Program.NotFound_GotResponse (IAsyncResult ar) [0x00000] in <filename
unknown>:0 

so 'prefix'/bin/mcs is used, which calls '/opt/mono/lib/mono/4.0/mcs.exe',
which differs from the smcs script (from comment #2), but shows the same issue.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list