Home | History | Annotate | Download | only in jni
      1 #include <cerrno>
      2 #include <cstddef>
      3 #include <cstdio>
      4 #include <sstream>
      5 
      6 int main(void)
      7 {
      8     const char* inputTest = "0";
      9 
     10     double f = 6;
     11     std::istringstream ss(inputTest);
     12     printf ("Doing the read\n");
     13     ss >> f; //Crash in 4.7, fine in 4.6
     14     printf ("Here it is %f\n", f);
     15 }
     16