Skip to content

Conversation

PaulFurtado
Copy link

This solves error: for loop initial declarations are only allowed in C99 mode when building on gcc 4.4.7 (Default gcc on CentOS 6.x) against the MySQL 5.7 libs.

This PR has two commits, the first commit only alters indentation because this appears to have accidentally been indented with 3 spaces instead of 4, so it was messing with my editor.

The important portion of the diff is in the second commit: 9ffee5d

See also: #4 which introduced 5.7 support.

This solves `error: for loop initial declarations are only allowed in C99 mode`
when building on gcc 4.4.7 (Default gcc on CentOS 6.x)
@PaulFurtado
Copy link
Author

@jamestryan Any chance you could take a look at this?

@phdru
Copy link

phdru commented Jan 14, 2018

I applied the PR in https://github.com/sqlobject/oursql in master and in branch py3k. Seems to be working. Thank you!

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 this pull request may close these issues.

2 participants