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

Re: svn trunk r16039: FAIL (win32 ra_local)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-09-04 20:49:55 CEST

David Anderson <david.anderson@calixo.net> writes:

> D.J. Heap wrote:
>> The variable is not being declared at the top of the scope and MSVC,
>> at least, is not happy about it.
>
> Declaring variables anywhere in a scope is valid C99.

Subversion currently tries to avoid features new to C99 since not all
compilers support them. If you are using a recent version of gcc then
the option -Wdeclaration-after-statement will cause a warning for this
particular case.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 4 20:50:39 2005

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.