antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

missing function to_strings in bison.y #19

Closed georgezhlw closed 11 years ago

georgezhlw commented 11 years ago

compile fail after git clone. function to_string is used in bison.y but never defined. the following should work and can be added into bison.y/bison.cu

include "sstream"

string to_string(long long int i) { stringstream res; res << i; return res.str(); }

regards, George

antonmks commented 11 years ago

Ok, I guess this depends on a compiler support of C++ 11 functions. So thanks, I will add it to non-Windows compile path.

Regards,

Anton