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

Alan Schmitt alan.schmitt at polytechnique.org
Sat Mar 13 05:14:36 EST 2010


On Fri, Mar 12, 2010 at 11:13 PM, Benjamin Pierce
<bcpierce at cis.upenn.edu> 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'
>
> Have others seen this?

I think I remember seeing this. We could try this:

> To get an idea about what an OSStatus represent, you can use thoses 2
> functions (from CarbonCore):
>
> const char* GetMacOSStatusErrorString(OSStatus err);
> const char* GetMacOSStatusCommentString(OSStatus err);

(but we need to make sure we have access to them with the current includes).

According to what I found, an OSStatus is a 4 bytes int.

Alan


More information about the Unison-hackers mailing list