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

RE: Compiling SVN headers in C++ (doesn't work)

From: Bill Tutt <billtut_at_microsoft.com>
Date: 2000-12-22 22:25:56 CET

From: Karl Fogel [mailto:kfogel@galois.collab.net]

Bill Tutt <billtut@microsoft.com> writes:
> > So I'm starting to compile the beginnings of the COM interaction to the
> > working copy library, but low and behold there were two C++ keyword
usages
> > that I noticed: svn_delta_edit_fns_t.delete and svn_txdelta_window_t.new
> >
> > Could someone either just fix it, or suggest a better name for these
guys so
> > that I can construct the required patch?

> How about:

> svn_delta_edit_fns_t.remove
> svn_txdelta_window_t.new_data

> When you're doing the replacements for the former, remember that a
> number of people have implemented editors using static functions with
> names like `delete', `commit_delete', etc, which will all want to be
> changed. (You may have thought of this already, I just wanted to make
> sure.)

I hadn't, but I'll try to fix all of those that I find as well.

> (Sanity check: am I correct in thinking that the main reason to avoid
> incompatibility with C++ is so that C++ programs can link us in?)

You got it. Only silly fools (and Excel and Word developers) write COM
objects in C.
ATL just makes it so simple.

Bill
Received on Sat Oct 21 14:36:18 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.