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

Re: [RFC] Preprocessor flags to target code to a specific API version

From: Dani Church <dchurch_at_cheri.shyou.org>
Date: Sun, 26 Sep 2010 18:31:09 -0400 (EDT)

On Sun, 26 Sep 2010, Daniel Shahaf wrote:

> Adding the SVN_MAYBE_POISON(svn_wc_some_function) can be done
> mechanically (by a script that reads the @deprecated comments and
> transforms the header files accordingly) --- instead of editing all
> headers now, we could provide a knob for people to run this script
> during 'make install'.

I toyed around with that kind of idea, but, having just done a lot of
partially-automated text processing on these files, I know just how hard
it is to get it right-- I wouldn't want to leave that to an automated
script. Also, I'm not a big fan of having to mangle the header files
before they're usable-- I'd rather be able to point my GCC include path
straight at my working copy.

-Dani Church
Received on 2010-09-27 00:31:47 CEST

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.