Greg Stein wrote on Sun, Sep 26, 2010 at 16:01:53 -0400: > SVN_DEPRECATED_5 > svn_error_t * > svn_wc_some_function(arguments, > more argments); > SVN_MAYBE_POISON_5(svn_wc_some_function); > > 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'.