On 8/28/05, Branko Èibej <brane@xbc.nu> wrote:
> subversion\bindings\swig\perl\libsvn_swig_perl\swigutil_pl.c(1373) : warning C4047: 'initializing' : 'void *' differs in levels of indirection from 'int '
> subversion\bindings\swig\perl\native\svn_client.c(4495) : warning C4013: 'svn_parse_date' undefined; assuming extern returning int
> subversion\bindings\swig\perl\native\svn_client.c(4496) : warning C4047: '=' : 'struct svn_error_t *' differs in levels of indirection from 'int '
[ ... snip dozens more C4047 warnings from svn_client.c ... ]
> subversion\bindings\swig\perl\native\svn_client.c(13204) : warning C4047: '=' : 'struct svn_error_t *' differs in levels of indirection from 'int '
> subversion\bindings\swig\perl\native\svn_wc.c(2614) : warning C4013: 'svn_parse_date' undefined; assuming extern returning int
> subversion\bindings\swig\perl\native\svn_wc.c(2615) : warning C4047: '=' : 'struct svn_error_t *' differs in levels of indirection from 'int '
That's quite a few warnings! I've attached a patch, which should
hopefully greatly reduce the number of warnings in the Windows build
of the Perl bindings.
[[[
Fix warnings in the Windows build of Perl bindings.
* swig/perl/libsvn_swig_perl/swigutil_pl.c
(svn_swig_pl_make_file): Cast the return value from PerlIO_fileno to
apr_os_file_t, to avoid warnings in the windows build of the Perl
bindings.
* swig/include/svn_global.swg:
Include svn_time.h, so that the return type of svn_parse_date will
be defined.
]]]
Cheers,
David
--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 29 00:54:00 2005