U
usr.root
i have done a test like this with gcc3.4.2:
int main(){
for(int i =0;i<3;i++);
return 0;
}
if i complile my code without using -std=c99,it shows a message :'for'
loop initial declaration used outside C99 mode .
i wonder that if not use -std=c99,which std it compile with?how can i
find that out?
(if i use -std=c99,it's ok)
int main(){
for(int i =0;i<3;i++);
return 0;
}
if i complile my code without using -std=c99,it shows a message :'for'
loop initial declaration used outside C99 mode .
i wonder that if not use -std=c99,which std it compile with?how can i
find that out?
(if i use -std=c99,it's ok)