[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: Branko Čibej <brane_at_xbc.nu>
Date: 2005-10-05 23:56:43 CEST

Philip Martin wrote:

>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.
>
>
Well, in the particualr case of svn_error__locate, that's only used in
maintainer mode. I don't think anyone has any business using
maintainer-mode libraries in production.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 5 23:57:06 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.