You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Elliot Lee <so...@redhat.com> on 2002/01/23 19:45:53 UTC

subversion-r909 bad code

subversion/libsvn_wc/entries.c: In function `fold_entry':
subversion/libsvn_wc/entries.c:1110: invalid operands to binary !=
subversion/libsvn_wc/entries.c: In function `svn_wc__recursively_rewrite_urls':
subversion/libsvn_wc/entries.c:1481: incompatible type for argument 14 of `fold_entry'
subversion/libsvn_wc/entries.c:1510: incompatible type for argument 14 of `fold_entry'

The problem is assuming that va_list and void* are compatible types. Not 
possible! :)

A nice addition would be the option to use the expat installed on my 
system (expat-1.95.1) rather than the included expat-lite, if it would 
save any space.
-- Elliot
The early bird may get the worm, but the second mouse gets the cheese.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion-r909 bad code

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Wed, Jan 23, 2002 at 02:45:53PM -0500, Elliot Lee wrote:
> subversion/libsvn_wc/entries.c: In function `fold_entry':
> subversion/libsvn_wc/entries.c:1110: invalid operands to binary !=
> subversion/libsvn_wc/entries.c: In function `svn_wc__recursively_rewrite_urls':
> subversion/libsvn_wc/entries.c:1481: incompatible type for argument 14 of `fold_entry'
> subversion/libsvn_wc/entries.c:1510: incompatible type for argument 14 of `fold_entry'
> 
> The problem is assuming that va_list and void* are compatible types. Not 
> possible! :)

This should now be fixed in HEAD: out of interest, with which compiler &
platform did you see get that error?

Regards,

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org