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

Re: svn commit: r18448 - trunk/subversion/include

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-02-14 09:16:55 CET

[julianfoad@tigris.org]
> Fix a C'89 incompatibility.
>
> * subversion/include/svn_io.h
> (svn_io_file_del_t): Remove a trailing comma.

Truly I learn something new every day.

Sure enough, 'gcc -pedantic' warns about trailing commas in enum
declarations, but *not* about trailing commas when populating an array
or a struct. I wonder whose bright idea it was to consider the one
less valid than the others.

Weird. Thanks for the education.

Received on Tue Feb 14 09:17:36 2006

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.