日期:2014-05-16  浏览次数:20666 次

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;
}