Re: Question about syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux