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

Re: Question on extern "C" logic

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2007-03-23 18:45:01 CET

On 3/23/07, Daniel Rall <dlr@collab.net> wrote:

> OTOH, if you're compiling Subversion with a C++ compiler, they could
> be annoying. We might as well add the extern "C" bit -- it certainly
> doesn't cost us much in terms of complexity.

If you're compiling Subversion with a C++ compiler and don't have the
extern "C" bits it should work fine, since the code you compiled would
have mangled symbols and the code that uses those headers would also
have them. It's only a problem if you need to go from C to C++ or the
other way around.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 23 18:45:17 2007

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.