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

Unable to get a successful premake output #13

Closed
SpartanJ opened this issue Aug 23, 2016 · 4 comments
Closed

Unable to get a successful premake output #13

SpartanJ opened this issue Aug 23, 2016 · 4 comments
Labels
bug Something isn't working major

Comments

@SpartanJ
Copy link
Owner

Original report by Anonymous.


Obviously following the README file you have provided. Running Debian Jessie with the premake4 executable (I would hope that the package of the same base version number would be compatible).
premake4 gmake, generates the expected hierarchy "make/linux/Makefile".
When running the makefile I run into the problem
"'for’ loop initial declarations are only allowed in C99 or C11 mode"
which appears to be the same/similar problem you were trying to avoid with VS with it's non support of C99. I've tried adding the relevant -std=c99 compiler flags to what 'appears' to be the correct location within the .lua premake file but to no avail. Any suggestions?

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


That's super weird. This can't happen with gcc or clang as far as i know. So i'll ask you more information, i need the following things:

  • gcc or clang version you are using

  • premake4 version you are using ( i had some problems with 4.4-beta5 before, so this is important )

  • the make files generated by premake

Thanks

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


OK, i installed Debian and i was able to reproduce the bug. It seems that i introduced a bug for old gccs in the last commit, i'll take a look at this and let you know.

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


Fixed issue #13.

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


Thanks for reporting the bug!

@SpartanJ SpartanJ added major bug Something isn't working labels Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant