2

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?

3
  • 2
    It seems that you are trying to compile C++ code as pure C. Commented Mar 21, 2012 at 4:26
  • wow, I would have never have guessed that was the reason.. c has namespaces.. make it an answer and ill give it to you. Commented Mar 21, 2012 at 5:00
  • No C doesn't have namespaces. Commented Mar 21, 2012 at 7:29

1 Answer 1

2

It seems that you are trying to compile C++ code as pure C.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.