[Mono-devel-list] corlib compilation failed

Sébastien Pouliot spouliot at videotron.ca
Tue Jan 27 12:19:16 EST 2004


>> Previous compilation (at 01:00 GMT) was successful.
>> I attempted manual CVS update but it didn't help (no updates). What
should I
>> do about it?

My bad :(

> I've added a workaround for that.

Thanks Gonzalo :)

> It's a bug in mcs.

Do you know if its had been reported ? I tried to make a simpler test case
(without success).
If not I'll enter it (as is) into bugzilla.

Also note that the following lines do compile with mcs 0.28.0.0 (under
RH9) - so this is a "recent" failure.

>             if (cg.MembershipCondition.ToString () !=
> m_membershipCondition.ToString ())

but the (original) line

>             if (!cg.MembershipCondition.Equals (m_membershipCondition))

doesn't compile with mcs 0.28.0.0 - with the same errors CS0121 and CS8006.

All versions compile fine with csc.

Sebastien Pouliot
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html


-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Gonzalo
Paniagua Javier
Sent: 27 janvier 2004 04:08
To: Mono Development
Subject: Re: [Mono-devel-list] corlib compilation failed


El mar, 27-01-2004 a las 09:07, Jaroslaw Kowalski escribió:
> Hi guys!
>
> I've setup a automated mono rebuild engine (cron-based - I rebuild from
> anoncvs 3 times a day). I usually have no problems beside resolving mutual
> dependencies between System.dll and System.XML.dll.
>
> However, last compilation (at 06:00 GMT) failed with the following:
>
> mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -d:ONLY_1_1 -g
> /noconfig /unsafe /nostdlib /target:library
> /out:../../class/lib/mscorlib.dll @../../build/deps/corlib.dll.response
> System.Security.Policy/CodeGroup.cs(130) error CS0121: Ambiguous call when
> selecting function due to implicit casts
> System.Security.Policy/CodeGroup.cs(130) error CS8006: Could not find any
> applicable function for this argument list
> System.Security.Policy/CodeGroup.cs(130) error CS0121: Ambiguous call when
> selecting function due to implicit casts
> System.Security.Policy/CodeGroup.cs(130) error CS8006: Could not find any
> applicable function for this argument list
> Compilation failed: 4 error(s), 0 warnings
>
> Looking at the source code I found this in "CodeGroup.cs":
>
> ====================
> // FIXME: this compiles with CSC. Didn't succeed at creating a
> smaller/different test case :(
> //          if (!cg.MembershipCondition.Equals (m_membershipCondition))
>             if (cg.MembershipCondition.ToString () !=
> m_membershipCondition.ToString ())
>                 return false;
> ====================
>
> Previous compilation (at 01:00 GMT) was successful.
> I attempted manual CVS update but it didn't help (no updates). What should
I
> do about it?

I've added a workaround for that. It's a bug in mcs.

-Gonzalo


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list