How to prevent mixed declarations ?

Colin Leroy colin@colino.net
Fri Sep 16 17:28:00 GMT 2005


Hi,

I'm trying to find a way to have gcc3 warn or error out when
encountering a declaration in the middle of a block, in an attempt to
be gcc-2.95 compatible. 
I looked at the manual, more especially here: 
http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/Mixed-Declarations.html

but I couldn't find a -Wflag or anything related...

Any hint?

Thanks in advance,
-- 
Colin



More information about the Gcc-help mailing list