This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: function calls before variable declarations does not give errorin gcc?
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Oza Dhairesh <dhairesh at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Aug 2004 22:58:44 -0500
- Subject: Re: function calls before variable declarations does not give errorin gcc?
- References: <3aa41a650408302022774d7486@mail.gmail.com>
Hi Oza,
I believe that's actually not an error, according to C99.
GCC 2.96 (a misnomer for a maverick non-GCC release, since there wasn't a
GCC 2.96, GCC went from 2.95 to 3.0) is probably following C89 standards.
HTH,
--Eljay