[Mono-osx] [PATCH] cocoa-sharp patch for mcs 1.2.5

Miguel de Icaza miguel at novell.com
Mon Jul 30 18:53:37 EDT 2007


> In preparing for the mono 1.2.5 release, I'm finding that cocoa-sharp
> 0.9.1 isn't compiling with mcs 1.2.5.

Please commit the patch.

<Miguel.

> Here is an example of the failing code:
> 
> 
>         unsafe {
>               int *ptr = (int *)(((int) &reply.msgh_id)+(Marshal.SizeOf
>         (typeof (int))*3));
>               (int)*(ptr) = 0x5;
>         }
>          
>         fails with:
>          
>         ././Mach.cs(161,53): error CS0131: The left-hand side of an
>         assignment must be a variable, a property or an indexer
>         Compilation failed: 1 error(s), 1 warnings 
> 
> 
> Is this patch ok to commit?
> 
> Also, looking at the commit log:
> 
> 2006-04-20  Geoff Norton  <gnorton at customerdna.com>
> 
>         * configure.in:  Sync to local 0.9.3 tree.
> 
> 
> Is the source also hosted somewhere else?  A lot of changes were
> committed in March of this year, but I wonder if they were also synced
> to the "local tree"?
> 
> Should I be using 0.9.3?  If so, where do I get it?
> 
> Wade
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx


More information about the Mono-osx mailing list