AnsweredAssumed Answered

namespace "std" has no  member "basic_string"..

Question asked by qian on Jan 11, 2012
Latest reply on Jan 11, 2012 by CraigG


I am porting a c++ open source , in the process of porting some problems .



Test code :
#include <string.h>
#include <string>
#include <vector>

#include <stdio.h>

using std::basic_string;     
using std::string;
using std::vector;

namespace tesseract {
// basic definitions
     typedef signed int char_32;
     typedef basic_string<char_32> string_32;
int main()
    return 0;
using bfin-linux-uclibc-g ++   is OK。

but using VDSP++ up9 Compile error:


"..\..\cube\string_32.h", line 38: cc0135:  error: namespace "std" has no
          member "basic_string"
  using std::basic_string;  //azure-debug
"..\..\cube\string_32.h", line 47: cc0864:  error: basic_string is not a
  typedef basic_string<char_32> string_32;


How do solve this problem?
Or how we can replace the "basic_string"?

thank you.