From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Walker To: help-gcc@gnu.org Subject: Re: Declaring variables mid-function Date: Sun, 19 Dec 1999 12:15:00 -0000 Message-id: References: <385c11fa@oit.umass.edu> <5vhARpAQ5BX4EwUB@howgarth.demon.co.uk> X-SW-Source: 1999-12/msg00272.html In article < jayaarzrhd.fsf@gatsby.u-net.com >, David Wragg writes >Jamie Walker writes: >> In standard C, you cannot declare variables part-way through any >> function. > >Yes you can. ISO C99 was passed a couple of months ago, and allows >mid-block declarations. Thanks for that, David. > >Of course, there are no compilers available yet that comprehensively >implement C99, and probably won't be for a couple of years (though :o) -- Jamie Walker http://www.sagaxis.co.uk/ "lp1 reported invalid error status (on fire, eh?)", Linux error message PGP Key ID: 0x1B6BBB15 (available on public key servers) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Walker To: help-gcc@gnu.org Subject: Re: Declaring variables mid-function Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: References: <385c11fa@oit.umass.edu> <5vhARpAQ5BX4EwUB@howgarth.demon.co.uk> X-SW-Source: 1999-12n/msg00272.html Message-ID: <19991231222400.MIOJu-4M4gprHt4EvhQ56kkb0jN2XpLelXaEUVEiBUo@z> In article < jayaarzrhd.fsf@gatsby.u-net.com >, David Wragg writes >Jamie Walker writes: >> In standard C, you cannot declare variables part-way through any >> function. > >Yes you can. ISO C99 was passed a couple of months ago, and allows >mid-block declarations. Thanks for that, David. > >Of course, there are no compilers available yet that comprehensively >implement C99, and probably won't be for a couple of years (though :o) -- Jamie Walker http://www.sagaxis.co.uk/ "lp1 reported invalid error status (on fire, eh?)", Linux error message PGP Key ID: 0x1B6BBB15 (available on public key servers)