[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: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-12-22 19:56:05 CET

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.)

(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?)

Thanks for noticing this,
-K
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.