Author: danielsh
Date: Thu Apr 4 19:53:54 2013
New Revision: 1464711
URL: http://svn.apache.org/r1464711
Log:
Followup to r1464679: forcibly break some code which is #define'd away, but
won't compile if uncommented.
* tools/client-side/svn-bench/client_errors.h,
* subversion/svn/client_errors.h:
Break the unused SVN_ERROR_BUILD_ARRAY mode by adding an #error directive.
Modified:
subversion/trunk/subversion/svn/client_errors.h
subversion/trunk/tools/client-side/svn-bench/client_errors.h
Modified: subversion/trunk/subversion/svn/client_errors.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/client_errors.h?rev=1464711&r1=1464710&r2=1464711&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/client_errors.h (original)
+++ subversion/trunk/subversion/svn/client_errors.h Thu Apr 4 19:53:54 2013
@@ -43,6 +43,8 @@ extern "C" {
#if defined(SVN_ERROR_BUILD_ARRAY)
+#error "Need to update err_defn for r1464679 and un-typo 'CDMLINE'"
+
#define SVN_ERROR_START \
static const err_defn error_table[] = { \
{ SVN_ERR_CDMLINE__WARNING, "Warning" },
Modified: subversion/trunk/tools/client-side/svn-bench/client_errors.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/tools/client-side/svn-bench/client_errors.h?rev=1464711&r1=1464710&r2=1464711&view=diff
==============================================================================
--- subversion/trunk/tools/client-side/svn-bench/client_errors.h (original)
+++ subversion/trunk/tools/client-side/svn-bench/client_errors.h Thu Apr 4
19:53:54 2013
@@ -43,6 +43,8 @@ extern "C" {
#if defined(SVN_ERROR_BUILD_ARRAY)
+#error "Need to update err_defn for r1464679 and un-typo 'CDMLINE'"
+
#define SVN_ERROR_START \
static const err_defn error_table[] = { \
{ SVN_ERR_CDMLINE__WARNING, "Warning" },