You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Not sure why 56deac2 happened, but it broke the makefile:
The text was updated successfully, but these errors were encountered: