title: Unknown type name namespace
body: <p>I am currently working on Android native code. I have <code>Accessorries.h</code></p>
  
  <pre><code>Accessories.h
  #ifndef _ACCESSORIES_H_
  #define _ACCESSORIES_H_
  #define ANDROID    1
  #include &lt;string&gt;
  #include &lt;opencv2/contrib/detection_based_tracker.hpp&gt;
  using namespace std;
  using namespace cv;
  
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  #define RETURN_OK  0
  #define RETURN_MEMORY_ERROR 1
  #define RETURN_PROCESS_ERROR  2
  #define FACESIZE   0.2
  #define WIDTH      400
  #define HEIGHT     300
  
  typedef struct{
       int col;
       int row;
       int width;
       int height;
  }loc_rects;
  
  typedef struct{
  
       int numofppl;
       int camera_idx;
       unsigned char *frame;//image buffer
       loc_rects *locs;
  }container;
  
  typedef struct{
     int ctrl;
     string frontxml;
     string profilexml;
  }processParam;
  
  
  typedef struct{
      DetectionBasedTracker::Parameters DetectorParams;
      DetectionBasedTracker front;
      DetectionBasedTracker profile;
  }detectors;
  
  #ifdef __cplusplus
  }
  #endif
  #endif
  </code></pre>
  
  <p>That <code>Accessories.h</code> is included in <code>Detection.h &amp; Detection.cpp</code> and <code>camera.c</code>.
  I got a lot of error for <code>unknown type name namespace</code>.
  I use ndk-build for compiling the native code.
  What could be wrong?
  I have Path and Symbols setting as shown in the attached image.
  I set the same setting for GNU C and GNU C++.<img src="https://i.stack.imgur.com/IeMHw.jpg" alt="enter image description here"></p>
  
  <p>EDIT:
  This is one of the errors</p>
  
  <pre><code>C:/ndk/sources/cxx-stl/gnu-libstdc++/4.6/include/bits
  /stl_vector.h:65:1: error: unknown type name 'namespace'
  C:/ndk/sources/cxx-stl/gnu-libstdc++/4.6/include/bits
  /stl_vector.h:66:1: error: expected ',' or ';' before '{' token
  In file included from C:/ndk/sources/cxx-stl/gnu-libs
  tdc++/4.6/include/vector:66:0,
                   from C:/Count//jni/include/opencv2/contrib/
  detection_based_tracker.hpp:8,
                   from C:/Count//jni/Accessories.h:5,
                   from C:/Count//jni/FaceDetection.h:3,
                   from C:/Count//jni/com_astralink_orcas_api_
  </code></pre>
  
  <p>Thanks</p>