views:

271

answers:

0

When trying to compile some c++ code with the Android-ndk in cygwin i keep getting the error" error: too few template-parameter-lists" many times. I am not sure if using the STLport would have an influence on this error but i have that installed as well. I doubt this had anything to do with the problem because i am pretty sure i was getting the error before i installed the STLport, but i just thought i would mention it.

I did some looking around and found out that this error was most likely due to the fact that the ndk is using a newer version of the GnuCpp compiler than i originally used on my c++ code. This seems like the problem because my code had previously compiled fine a few months ago.

Does anyone know if there is a way to make this work without going through all of my c++ and changing the notation, as this is a large project and manually going through thousands of line of code is not practical.