vgvassilev / cling

The interactive C++ interpreter Cling
https://rawgit.com/vgvassilev/cling/master/www/index.html
Other
1.77k stars 100 forks source link

Can not use std::string sometimes #194

Open zfymoon opened 5 years ago

zfymoon commented 5 years ago

My command is as follow:

#include <iostream>
#include <string>
using namespace std;
string v;

But I get an error sometimes:

input_line_18:3:8: error: no matching constructor for initialization of 'std::__1::string' (aka 'basic_string<char, char_traits, allocator >') string v;

And my enviroment is MacOS 10.13.6 (17G65),I install the cling via the install script on the official site.

Could any one do me a favor? Thanks a lot.

derofim commented 5 years ago

may be related to https://github.com/vgvassilev/cling/issues/161