[Unison-hackers] [unison-svn] r400 - in trunk/src: . system system/win ubase uimacnew uimacnew09

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Sat Mar 13 06:41:36 EST 2010


On Fri, Mar 12, 2010 at 05:13:15PM -0500, Benjamin Pierce wrote:
> OK, I finally got one of my machines upgraded to 10.6 and mostly working again after the upgrade (ugh), and I can now confirm that this works for me too.  I've added the .ibplugin file to the svn repo and included it in the install instructions.
> 
> I'm having one problem with compiling both versions of the GUI:
> 
> uimacnew09/cltool.c: In function 'main':
> uimacnew09/cltool.c:37: warning: format '%d' expects type 'int', but argument 3 has type 'OSStatus'
> uimacnew09/cltool.c:43: warning: format '%d' expects type 'int', but argument 3 has type 'OSStatus'

This is harmless: OSStatus is a 32 bit signed integer and the type
'int' is also 32 bits.  The reason for the warning is that type
OSStatus is defined as 'long' when compiling to 32 bit...

Using format '%ld' should silence the compiler in all cases.

-- Jerome



More information about the Unison-hackers mailing list