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

Wade Berrier wberrier at novell.com
Mon Jul 30 21:06:01 EDT 2007


This patch is against 0.9.1, which I'll create a branch for and commit.
But, Geoff suggested we roll 0.9.3 from trunk.  Trunk doesn't need the
patch...

Wade

On Mon, 2007-07-30 at 19:11 -0400, Geoff Norton wrote:
> Hey wade,
> 
>   I've been out of town all weekend and am just catching up now.  Please 
> commit this patch.
> 
> -g
> 
> Wade Berrier wrote:
> > Hi,
> >
> > 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.
> >
> > 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
> >   
> 



More information about the Mono-osx mailing list