emacs24用company补全出错
#include <iostream>
#include <string>
using namespace std;
int main()
{
string str("hello world");
cout << str << endl;
str. //补全出错
return 0;
}
clang failed with error 1:
/usr/bin/clang -cc1 -fsyntax-only -code-completion-macros -x c++ -code-completi\
on-at -:9:7 -
clang的版本是3.3
用的company-mode
int main()
{
string str("hello world");
cout << str << endl;
str. //补全出错,主要是这里说的补全出错是啥意思?出的啥错?
return 0;
}