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

Re: Patch: Make HEAD compile with standard C compiler

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-02-10 11:31:03 CET

On Fri, 10 Feb 2006, Martin v. Löwis wrote:

> Rolf Kalbermatter wrote:
> > A recent change causes problems when trying to compile with Visual C 6.
> > Variable declarations in functions need to be done before any code
> > statements in order to compile with standard C.
>
> Actually, standard C does support declarations after statements.
> You are referring to C89; the current standard (C99) has this feature.
> Of course, Visual C 6 doesn't support the current standard.
>
Subversion uses C89, FWIW. Probably mostly because of Visual C++, but
maybe other compilers as well.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 10 11:32:22 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.