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

Re: [RFC] Mark deprecated functions with SVN_DEPRECATED / __attribute__((deprecated))

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 19 Aug 2008 06:11:37 -0700

On Tue, Aug 19, 2008 at 5:34 AM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
>...
>> What
>> is the problem with one header?
>
> The problem with one header is it will (in the limit) refer to every
> type defined in all Subversion libraries: a big monolithic lump that

Gah! Yeah, you're right.

Alrighty... well, let's at least get the SVN_DEPRECATED into the
declarations. That's pretty cool.

Solving the type issues... urgh.

An intermediate easy solution: move all deprecated declarations to the
*bottom* of the header file. Anybody have an issue with that?

I'm okay with an svn_deprecated.h that contains as many deprecated
functions as possible, but leaves behind things that need special
types. It is a bit messier since some deprecated things will remain,
and some will move. But that doesn't really bother me. Thoughts?

Cheers,
-g

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-19 15:11:56 CEST

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.