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

Re: 1.5.6 not C Standard 1989 compliant

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 17 Mar 2009 08:34:57 -0500

On Mar 17, 2009, at 8:06 AM, Dan Poirier wrote:

> I happen to be trying to compile svn 1.5.6 with a compiler that
> supports C89 but not C99, and have run into a number of instances of
> code that isn't valid under C89 - mostly non-constant struct
> initializations, and one trailing comma.
> The developer's guidelines at http://subversion.tigris.org/hacking.html#coding-style
> say that subversion uses ANSI C, but doesn't specify which standard.
> I haven't tried the 1.6.0 release candidates.
> Should subversion be C89 compliant? Or is it intending to use C99-
> only constructs?

It's supposed to be C89 compliant, and most of the developers try to
compile with the appropriate flags to catch such. However, due to
various conditional compilation scenarios, some may be missed.

Could you see if you are having the same errors on Subversion trunk,
and if so, would it be possible to post a patch to dev@ fixing the
problems you found?



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-17 14:35:50 CET

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

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