Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
359 stars 71 forks source link

no run #12

Open MarchLiu opened 12 years ago

MarchLiu commented 12 years ago

After build success. I copy the el and the binary in my setting path, and write the setting file and load it.

While I edit a c source file , run the auto-complete function. Not output and no error show. But when I try to kill the buffer, emacs show message: "clang-complete is no running."

PS. It can be used in objc-mode?

jypaigue commented 11 years ago

I have a similar problem.

"clang-complete is no running" appear in c++-mode... There are no completion and I can't save the current work. Even if clang-complete crash, user should be able to save his work !

Note that in c-mode, it works well.

Here is the trace of clang-complete :

libclang: crash detected during reparsing

and later :

terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc libclang: crash detected in code completion

Process clang-complete<1> erreur de segmentation (core dumped)

jypaigue commented 11 years ago

Problem solved for me : tested on 268f72799751b17085f8cbde35b47e170a2a01c0