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

David_Hudson at capgroup.com David_Hudson at capgroup.com
Mon Jul 30 10:40:37 EDT 2007


Hi,

I am not sure how much my opinion actually matters for this, but I say
commit the patch and then release the latest cocoa-sharp code from the
tree. Version 0.9.3 of cocoa-sharp needs to be released. Anyone else have
thoughts?

Dave

>
> ----- Message from Wade Berrier <wberrier at novell.com> on Fri, 27 Jul
> 2007 16:03:15 -0700 -----
>
> To:
>
> Mono-OSX List <mono-osx at lists.ximian.com>
>
> cc:
>
> schaveyt at gmail.com, jendave at yahoo.com, gnorton at customerdna.com
>
> Subject:
>
> [Mono-osx] [PATCH] cocoa-sharp patch for mcs 1.2.5
>
> 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
> [attachment "cocoa-sharp-unsafe_fixes.patch" deleted by David
> Hudson/INV/CG/CAPITAL]
>



More information about the Mono-osx mailing list