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

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


--- Comment #7 from Sebastien Pouliot <[email protected]> 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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to