YCM-Generator icon indicating copy to clipboard operation
YCM-Generator copied to clipboard

Not all includes detected

Open ARamsey118 opened this issue 8 years ago • 0 comments

Using the code here, and running :YcmGenerateConfig, several includes appear to be missing. Errors such as "implicit declaration of function 'kzalloc' " are reported, but 'kzalloc' is defined in linux/slab.h, as noted by the comment. Adding the flag '-I/usr/scr/linux-headers-4.4.0-21/include' appeared to fix most errors on Xubuntu, including the kzalloc one, but a similar flag on Archlinux, '-I/lib/modules/4.5.4-1-ARCH/build/include/linux' did not.

ARamsey118 avatar May 29 '16 20:05 ARamsey118