Re: subversion-1/svn_wc.h:1210: error: comma at end of enumerator list

2011-10-19 Thread Daniel Shahaf
Tony Sweeney wrote on Wed, Oct 19, 2011 at 11:10:35 +0100: > The trailing comma is explicitly invalid per ANSI C 89 (though some > compilers, notably GCC, permitted it). C99 removes this restriction. > It's valid everywhere without the comma, so it's perfectly safe (and > probably desirable) to re

RE: subversion-1/svn_wc.h:1210: error: comma at end of enumerator list

2011-10-19 Thread Tony Sweeney
-Original Message- From: Peter Johansson [mailto:peterandrejohans...@gmail.com] Sent: 18 October 2011 22:35 To: users@subversion.apache.org Cc: svndigest-us...@lists.sourceforge.net Subject: subversion-1/svn_wc.h:1210: error: comma at end of enumerator list Hello, When I compiled

subversion-1/svn_wc.h:1210: error: comma at end of enumerator list

2011-10-18 Thread Peter Johansson
Hello, When I compiled with GCC (4.2.1) with compiler option -pedantic against header file `svn_wc.h' in subversion version 1.7 I get the following error: In file included from main.cc:1: /opt/local/include/subversion-1/svn_wc.h:1210: error: comma at end of enumerator list make: ***