This isn't C++; variable declaration must be at the top of a block.

Derek Atkins warlord at MIT.EDU
Thu Apr 1 10:32:43 EST 2004


linas at linas.org (Linas Vepstas) writes:

> On Thu, Apr 01, 2004 at 10:25:29AM -0500, Derek Atkins was heard to remark:
>> 	This isn't C++; variable declaration must be at the top of a block.
>
> I beleive the current ANSI C supports this, and it was added to gcc
> recently, so it should work fine.

It works fine IFF you're running a current GCC.  It's NOT fine when we
still support older gcc's, which we do.

> --linas

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-patches mailing list