Reputation: 1362
I'm using stock cygwin for ndk-build and im getting errors like
C:/Users/374565.NOAM/workspace/UltraSoundJNI/jni/utils/Errors.h:24:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'android'
this line is :
namespace android{
this happens in multiple files, how do i fix this?
Upvotes: 2
Views: 703
Reputation: 30122
It seems that you are trying to compile C++ code as pure C.
Upvotes: 2