While I try compile the automatic generated .c file in Visual Studio 2012 I get
following error:
error: ISO C89 forbids mixed declarations and code!!!
Is it possible all declarations generate in begin of each function?
The "problematic" code example:
void sameFun()
{
int a,b;
a = 5;
b = a + 3;
int c = a * b;
}
The "desirable" code example:
void sameFun()
{
int a,b,c;
a = 5;
b = a + 3;
c = a * b;
}
Original issue reported on code.google.com by magnet...@gmail.com on 27 Feb 2013 at 12:51
Original issue reported on code.google.com by
magnet...@gmail.com
on 27 Feb 2013 at 12:51