Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on linux #19

Open
stephenmathieson opened this issue Mar 5, 2014 · 1 comment · May be fixed by #20
Open

Cannot build on linux #19

stephenmathieson opened this issue Mar 5, 2014 · 1 comment · May be fixed by #20

Comments

@stephenmathieson
Copy link
Member

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
stephenmathieson pushed a commit that referenced this issue Mar 23, 2014
@stephenmathieson stephenmathieson linked a pull request Mar 23, 2014 that will close this issue
@ghost
Copy link

ghost commented Jul 9, 2017

@clibs you should be able to close this now because:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant