This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Question about syntax
- From: Matthew Woehlke <mw_triad at users dot sourceforge dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 09 Apr 2007 12:46:32 -0500
- Subject: Re: Question about syntax
- References: <1175902177.5202.3.camel@localhost.localdomain>
devel wrote:
I see that GCC do not warning something like this:
{
x++;
char var[10];
int hello;
if ()
{
}
...
}
or similar.
Why GCC do not advise about this?
Try -Wdeclaration-after-statement?
--
Matthew
If you believe you received this e-mail in error, you are probably sadly
mistaken, but if not, aren't you lucky?