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

Re: [PATCH] - svnserve/main.c - extra comma in enum definition

From: Russ Allbery <rra_at_stanford.edu>
Date: 2004-06-15 04:27:25 CEST

Mark Phippard <MarkP@softlanding.com> writes:

> This module will not compile under OS/400 because of the extra comma on
> the end of the enum. I guess other compilers are rightfully forgiving
> on stuff like this.

C89 didn't allow the extra comma. C99 does. (If I recall correctly, C89
allowed the extra comma in array initializers but not in enum
declarations, but it was allowed anyway by most implementations.)

-- 
Russ Allbery (rra_at_stanford.edu)             <http://www.eyrie.org/~eagle/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 15 04:28:01 2004

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.