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

Re: The meaning of double-underscore symbols

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-04 23:16:36 CEST

kfogel@collab.net writes:

> Can you say a scenario you have in mind, where having the symbols be
> in the object code, even if not the source code, would be a problem?
> I feel like I may be being insufficiently imaginative here...

It's no different from any other public symbol.

If some third-party code uses SVN_ERR and gets built against
Subversion 1.2 the object code will refer to svn_err__locate. If we
change svn_err__locate in 1.4 and make it incompatible with 1.2 then
the object code will not work with the 1.4 libraries and we will have
broken the ABI guarantees. Having the SVN_ERR macro remain source
compatible doesn't get round this problem.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 4 23:18:11 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.