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

1.5.6 not C Standard 1989 compliant

From: Dan Poirier <poirier_at_pobox.com>
Date: Tue, 17 Mar 2009 13:06:22 UT

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?
Received on 2009-03-17 14:22:08 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.