Opened 15 years ago

Closed 14 years ago

#370 closed task (fixed)

SVN_DEPRECATED in subversion 1.6 will cause compiler warnings

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: minor Milestone: svndigest 0.7
Component: build Version: trunk
Keywords: Cc:


From subversion 1.6 there is a macro SVN_DEPRECATED that is placed before deprecated functions. This will calls compiler warnings (at least with gcc 3.1 or later), and since svndigest uses svn v1.4 API most (if not all) functions we use are deprecated. This will cause a lot of compiler warnings if compiling against next version of svn, such as: warning: ‘svn_cmdline_setup_auth_baton’ is deprecated (declared at...

A simple solution would probably be to #define SVN_DEPRECATED as empty string in top of SVN.h.

Change History (3)

comment:1 Changed 14 years ago by Peter Johansson

Milestone: svndigest 0.x+svndigest 0.7
Owner: changed from Jari Häkkinen to Peter Johansson

comment:2 Changed 14 years ago by Peter Johansson

Status: newassigned

comment:3 Changed 14 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [800]) fixes #370 - turn off warnings from SVN_DEPRECATED

Note: See TracTickets for help on using tickets.