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

Re: [Issue 826] New - Dumper bug (Property-content-length: 0) and fix

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-29 23:17:53 CEST

On Mon, Jul 29, 2002 at 10:28:40PM +0200, Branko Cibej wrote:
> mark benedetto king wrote:
>...
> >+++ subversion/include/svn_io.h Sun Jul 28 23:17:19 2002
> >@@ -350,7 +350,9 @@
> > svn_error_t *svn_stream_printf (svn_stream_t *stream,
> > apr_pool_t *pool,
> > const char *fmt,
> >- ...);
> >+ ...)
> >+ __attribute__ ((format (printf, 3, 4)));
>...
>
> +10, but check how it's done in APR so that this doesn't frighten MSVC.

apr.h has an empty #define for __attribute__ to ensure that this will
compile properly on all non-GCC compilers.

IOW, no special care needed.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 23:15:31 2002

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.