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

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

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 27 Oct 2011 10:25:38 +0200

CC += Peter

Applied and nominated for backport towards 1.7.2, thanks.

Prabhu Gnana Sundar wrote on Thu, Oct 27, 2011 at 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 10:26:27 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.