Closed fengdong110 closed 8 years ago
Detailed error:
make
g ++ -c -g -std = c ++ 0x main.cpp -o main.o
g ++ -c -g -std = c ++ 0x Caller.cpp -o Caller.o
Caller.cpp: In member function 'std :: vector <Location, std :: allocator
Your compiler version (gcc 4.4) does not support some of the newer C++11 features. For a longer explanation see: http://stackoverflow.com/questions/20090651/compilation-error-while-using-to-string-in-c-program
error: Caller.cpp: 467: error: Call overloaded 'to_string (int)' is ambiguous
to_string (int) overloaded 。
how to solve this problem?3q.