[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Patch] fix for compilation error, when compiled with "-pedantic" option

From: Prabhu Gnana Sundar <prabhugs_at_collab.net>
Date: Thu, 27 Oct 2011 12:50:18 +0530

Hi all,

When compiling the Subversion 1.7 code with the GCC(4.2.1) with compiler
option "-pedantic", compilation fails
with an error " comma at the end of enumerator list".

Here is the snip:

<snip>

In file included from main.cc:1:
/opt/local/include/subversion-1/svn_wc.h:1210: error: comma at end of
enumerator list
make: *** [main] Error 1

</snip>

Not sure if the trailing commas at the end of enumerator lists are
typos, though fixing quite a few of them
in the patch attached. I have also attached the log message with this mail.
Please share your views.

Thanks and regards
Prabhu

Received on 2011-10-27 09:21:02 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.