-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Not sure why 56deac2 happened, but it broke the makefile:
stephen@sm:~/repos/commander$ uname -a
Linux sm 3.2.0-32-virtual #51-Ubuntu SMP Wed Sep 26 21:53:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
stephen@sm:~/repos/commander$ make
cc test.c src/commander.c -o test -Wall -Wextra
test.c: In function ‘main’:
test.c:29:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
test.c:29:3: note: use option -std=c99 or -std=gnu99 to compile your code
src/commander.c: In function ‘normalize_args’:
src/commander.c:148:7: error: ‘for’ loop initial declarations are only allowed in C99 mode
src/commander.c:148:7: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [test] Error 1
Metadata
Metadata
Assignees
Labels
No labels