Re: [RFC] Preprocessor flags to target code to a specific API version
Greg Stein wrote on Sun, Sep 26, 2010 at 16:01:53 -0400:
> svn_error_t *
> more argments);
> Where the latter macro expands to: _Pragma("GCC poison
> svn_wc_some_function"); (I think that is the right syntax)
> But again, that will add even more cruft around the declarations which
> I'm not sure will be acceptable (gotta see what people think).
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'.
Received on 2010-09-26 23:02:06 CEST
This is an archived mail posted to the Subversion Dev