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

Re: [PATCH] Move unused parameter warning suppression into a macro

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-10-26 20:03:59 CEST

On Wed, 26 Oct 2005, Erik Huelsmann wrote:

> > I'm still thinking about whether we can do better than putting the definition
> > in svn_types.h. We really should try hard to avoid using that file as a
> > dumping ground. I'm thinking svn_private_config.h would be better, since this
>
> +1
>
> > is an implementation detail that users of our libraries don't need to know
> > about, and since the appropriate definition might depend on the compilation
> > environment. For example, some compilers might complain more about "(void)x"
> > being a statement with no effect than they do about unused parameters.
>
> Which may mean that at some time we need to implement configure magic
> to check for it... (which means it'll be in svn_private_config.h by
> then)

+1

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 26 20:03:42 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.