-
Notifications
You must be signed in to change notification settings - Fork 20
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
One more compiler problem: template<typename _N, typename T> #55
Comments
Does the android ndk support C++11? Also I can't imagine why it doesn't support an underscore on template parameter names.... it's a pretty common thing. I'll look into it. |
ndk supports c++11. |
I think that is incredibly strange. what version of gcc does it use? I really don't want to support gcc prior to 4.8. 4.7 and before are buggy and incomplete with C++11. I even got some pretty good internal compiler errors. |
I can see there is new update, i will download and check your sources again. ps. it use 4.8 |
ndk and cygwin updated, now i have new error code:
|
Are you sure it isn't because of modifications you've made? I've gotten the examples to compile and run just fine on windows via msys2 and on linux. both gcc 4.8 (4.8.1 for msys2, and 4.8.3 on debian). |
Waaaiit, no, _N in LuaGlue is supposed to be an int. not a typename. the way I'm using it it absolutely has to be declared as an int, as using basic types instead of typename or class is treated specially by the compiler when used. |
I can't compile your code in Android NDK, why? Look at this:
Throws error:
But! This is working well:
Difference? _ N changed to N (or to N_), why it happens?
The text was updated successfully, but these errors were encountered: