Sarcasm / irony-mode

A C/C++ minor mode for Emacs powered by libclang
GNU General Public License v3.0
901 stars 98 forks source link

autocomplete needs emacs to restart #500

Closed marprok closed 5 years ago

marprok commented 5 years ago

OS: Linux Mint 18.1 Serena 64-bit emacs --version: GNU Emacs 24.5.1

I don't know elisp apart from the things I learned trying to configure emacs for c/c++ development. I have a .clang_complete file in my home folder which contains the following -std=c++14 -I/usr/include/SDL2/ From what I can tell the autocomplete of the standard library works fine but when I include <SDL2/SDL.h> the autocomplete does not work for SDL until I restart emacs. The same goes with <sys/socket.h> . Autocomplete also works with <netinet/in.h> but doesn't work with unless I restart emacs.