-
Notifications
You must be signed in to change notification settings - Fork 98
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
Is there a problem with C99/C11? #30
Comments
variable declared within for-loop is visible in the first following line since C11(C++ 11). BUT we are writing C. |
C11 is C. The ability do declare and use variables in the for loop declaration simplifies code. |
With gcc, -std=c99 must be declared. Which was not specified in Makefile. |
OK. Changes will be added to dev branch. |
Great. |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the issue with the int in the for loop declaration? Gcc and Clang both support C99 and C11.
The text was updated successfully, but these errors were encountered: