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?