[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compile warnings in trunk

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-05-10 19:27:39 CEST

Branko ÄŒibej <brane@xbc.nu> writes:

> I'd say it's compiler overzealousness, not a bug as such. Such
> warnings make sense in envionments where the size of the defined type
> could be different on different platforms. Of course, the compiler
> doesn't know that the format string came from a define, too.

So why does the warning occur on Tiger? What underlying type is an
apr_ssize_t? Is it now 64-bits? If so then perhaps APR should be
using %ld not %d? I'm using gcc 4 on 32-bit Linux and I don't get
this warning.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 10 19:35:19 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.