Re: Beagle 0.0.10 doesn't compile with Mono 1.0.6

On Sat, 2005-06-04 at 11:59 -0400, Joe Shaw wrote:
> On Sat, 2005-06-04 at 16:35 +0100, Daniel Drake wrote:
> > When compiling with mono 1.0.6, you get these errors:
> > 
> > /Query.cs(70) error CS1501: No overload for method
> > `RegisterAsyncResponseHandler' takes `2' arguments
> > /Query.cs(70) error CS8006: Could not find any applicable function for this
> > argument list
> >
> > Delegate handling in Mono 1.0.6 seems to be totally broken. See
> >
> > 
> > Does this sound like a good time to set 1.1.x as a minimum requirement?
> The error message is wrong, but the behavior isn't.  The ability to wrap
> a function as a delegate is a C# 2.0 feature, and mono 1.0.x doesn't
> implement it.
> In your test case, you have:
> 	Temp (SomeFunc);
> but SomeFunc isn't a MyDelegate, it's a method.  To fix this, you'd do:
> 	Temp (new MyDelegate (SomeFunc));
> The automatic wrapping is just a nice feature (and might be required for
> delegate covariance).
> That said, it's probably still a good idea to bump up the requirement to
> 1.1.x.  At this point I think all the major distros are either shipping
> 1.1.x or packages for them are available from  And the
> 1.0.x branch has been discontinued by the developers.

One thing to keep in mind, as I am not sure of the status of the win32
port of beagle anymore, but if you want beagle to build on win32 w/
the .NET framework 1.1, instead of requiring 2.0, you will have to fix
this anyway.

So far, the best way to force this to be fixed is to include
-langversion:ISO-1 in the mcs compile line. This will error out on the
above issues, and enforce in the future ISO-1 (meaning .net 1.1)

That said, I am not sure how important beagle building on win32 is to
you guys currently :)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]