Manuel Ortega wrote:

> I got a compiler warning on OSX 10.8.3 that I've never seen before.  This
> is while building 7.3.1072.  The last vim I built was 7.3.1053 and this
> warning didn't exist then.
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX -no-cpp-precomp  -g -O2
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       -o objects/memfile.o memfile.c
> In file included from if_python.c:758:
> if_py_both.h: In function ‘RangeRepr’:
> if_py_both.h:3810: warning: format ‘%d’ expects type ‘int’, but argument 3
> has type ‘Py_ssize_t’
> if_py_both.h:3810: warning: format ‘%d’ expects type ‘int’, but argument 4
> has type ‘Py_ssize_t’
> 
> Vim built fine and seems to work after this.

Looks like it needs a type cast.  I'll make a patch.

-- 
How To Keep A Healthy Level Of Insanity:
18. When leaving the zoo, start running towards the parking lot,
    yelling "run for your lives, they're loose!!"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui