language: C99 strict (gcc-4.7.2)
date: 257 days 14 hours ago
link:
visibility: private
1
2
a[]={0,1,2,3,4};
a[i]=i;
cc1: warnings being treated as errors
prog.c:1: error: data definition has no type or storage class
prog.c:1: error: type defaults to ‘int’ in declaration of ‘a’
prog.c:2: error: ‘i’ undeclared here (not in a function)
prog.c:2: error: data definition has no type or storage class
prog.c:2: error: type defaults to ‘int’ in declaration of ‘a’