Re: [Patch] fix for compilation error, when compiled with "-pedantic" option
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:
> 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
> 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
Received on 2011-10-27 10:26:27 CEST
This is an archived mail posted to the Subversion Dev