/in/foo.c:2:9: warning: ISO C99 requires whitespace after the macro name
2 | #define M<=1000
| ^
/in/foo.c: In function 'main':
/in/foo.c:6:15: error: 'm' undeclared (first use in this function)
6 | int a[m];
| ^
/in/foo.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:8:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
8 | for(int i=0,i<n,i++)
| ^
/in/foo.c:12:9: error: expected expression before 'for'
12 | for(int i=0,i<n,i++);{
| ^~~
/in/foo.c:12:30: error: expected expression before '{' token
12 | for(int i=0,i<n,i++);{
| ^
/in/foo.c:8:17: warning: unused variable 'i' [-Wunused-variable]
8 | for(int i=0,i<n,i++)
| ^
/in/foo.c:8:9: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
8 | for(int i=0,i<n,i++)
| ^~~
/in/foo.c:8:9: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
/in/foo.c:33:1: error: expected declaration or statement at end of input
33 | }
| ^
/in/foo.c:6:13: warning: unused variable 'a' [-Wunused-variable]
6 | int a[m];
| ^