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

Re: Yet another newbie

From: Branko Čibej <branko.cibej_at_hermes.si>
Date: 2000-08-08 18:21:01 CEST

Greg Hudson wrote:
> > According to this snippet from the C++ spec., it's *possible* that
> > names with double underscores may conflict with symbols that are
> > part of a C++ compiler's implementation.
> Is Subversion written in C++, or in C? As far as I know, the C spec
> only reserves symbols beginning with underscores, not symbols
> containing pairs of underscores.

Actually, I wasn't thinking about the Subversion implementation
language when I asked the question. If Subversion provides a client
library what can be used to build user interfaces, sooner or later
somebody will want to write an SVN interface in C++. At that point,
there could be conflicts because of such symbols in the headers, or
global (private) symbols in the library.

The probability of such conflicts should be quite low, though; so
perhaps we can safely forget about it.

Call it a pedantic practical concern on my part, if you will :-)


Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70
Received on Sat Oct 21 14:36:06 2006

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.