[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: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 18 Aug 2008 22:59:30 +0200

2008-08-18 22:47:12 Philip Martin napisaƂ(a):
> Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com> writes:
>
> > I would like to suggest that deprecated functions be additionally marked with
> > __attribute__((deprecated)) [1]. I suggest to directly use SVN_DEPRECATED
> > which can be defined in a header (e.g. svn_types.h) by:
> > #define SVN_DEPRECATED __attribute__((deprecated))
>
> We are committed to supporting old interfaces for the lifetime of 1.x
> and they should continue to work as well as they ever did.

I agree that we should support old interfaces for the lifetime of 1.x, but
IMO it doesn't disallow us to print warnings during compilation.
The run-time behavior (which is more important) of these interfaces would
still remain unchanged.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-08-18 23:01:40 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.