[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 26 Sep 2010 23:37:38 +0200

Greg Stein wrote on Sun, Sep 26, 2010 at 16:01:53 -0400:
> Wrapping declarations with #if SVN_TARGET_API is a non-starter, I
> believe. That sounds like it would obfuscate the headers a bit too
> much. In your original email, you mentioned something about "gcc
> poison" which made it sound like you could flag certain declarations
> to gcc as "bad to use".

What advantages does 'poison' have over, you know, attempting to compile
an application against an old set of headers?

gcc -I https://svn.apache.org/repos/asf/subversion/tags/1.4.0/subversion/include/
Received on 2010-09-26 23:40:42 CEST

This is an archived mail posted to the Subversion Dev mailing list.