[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-10-26 13:19:54 CEST

> 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


> 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


Received on Wed Oct 26 13:21:32 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.