Date: Fri, 8 Dec 2017 21:23:04 +0800 From: blubee blubeeme <gurenchan@gmail.com> To: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: valloric YCM [header definitions] Message-ID: <CALM2mEnGEwXOkeAO_igPrY_QoCvvvUESx23ygKF-oY9etqOLQg@mail.gmail.com> In-Reply-To: <CALM2mEnH6J%2BV08uhahcSwhZ6%2BdAaustmT3Y=r12P-mAVXAG4Tg@mail.gmail.com> References: <CALM2mEnH6J%2BV08uhahcSwhZ6%2BdAaustmT3Y=r12P-mAVXAG4Tg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 6, 2017 at 2:18 AM, blubee blubeeme <gurenchan@gmail.com> wrote: > I'm looking for where the u_int, u_long headers are defined? > > for instance MOD_LOAD, UNLOAD, ENOTSUP along with u_int and u_long aren't > being picked up by libclang > > module_t isn't being found either but I located that header file in > /usr/include/sys/module.h > > snd_modevent(module_t mod, int type, void *data) > { > > switch (type) { > case MOD_LOAD: > break; > case MOD_UNLOAD: > break; > default: > return (ENOTSUP); > break; > } > return 0; > } > > Anyone here uses YCM? > > Here's a verbose output of my global ycm_config. I hard coded the values > to test but still some headers like u_int, u_long and the above mentioned > MOD_* aren't being picked up. > > Any ideas why? > > '-std=c99', > '-x', > 'c', > '-I', > '/usr/local/include', > '-I', > '/usr/include', > '-I', > '/usr/include/teken', > '-I', > '/usr/include/geom', > '-I', > '/usr/include/netgraph', > '-I', > '/usr/include/isofs', > '-I', > '/usr/include/net80211', > '-I', > '/usr/include/gssapi', > '-I', > '/usr/include/xlocale', > '-I', > '/usr/include/netpfil', > '-I', > '/usr/include/gcc', > '-I', > '/usr/include/bsnmp', > '-I', > '/usr/include/libxo', > '-I', > '/usr/include/ssp', > '-I', > '/usr/include/devdctl', > '-I', > '/usr/include/security', > '-I', > '/usr/include/crypto', > '-I', > '/usr/include/cam', > '-I', > '/usr/include/rdma', > '-I', > '/usr/include/infiniband', > '-I', > '/usr/include/rpcsvc', > '-I', > '/usr/include/atf-c', > '-I', > '/usr/include/netnatm', > '-I', > '/usr/include/ufs', > '-I', > '/usr/include/edit', > '-I', > '/usr/include/nfsserver', > '-I', > '/usr/include/netsmb', > '-I', > '/usr/include/gnu', > '-I', > '/usr/include/net', > '-I', > '/usr/include/private', > '-I', > '/usr/include/nfsclient', > '-I', > '/usr/include/openssl', > '-I', > '/usr/include/libmilter', > '-I', > '/usr/include/atf-c++', > '-I', > '/usr/include/netinet6', > '-I', > '/usr/include/x86', > '-I', > '/usr/include/dev', > '-I', > '/usr/include/bsm', > '-I', > '/usr/include/netipsec', > '-I', > '/usr/include/netinet', > '-I', > '/usr/include/krb5', > '-I', > '/usr/include/casper', > '-I', > '/usr/include/protocols', > '-I', > '/usr/include/lib80211', > '-I', > '/usr/include/arpa', > '-I', > '/usr/include/pcap', > '-I', > '/usr/include/nfs', > '-I', > '/usr/include/machine', > '-I', > '/usr/include/fs', > '-I', > '/usr/include/sys', > '-I', > '/usr/include/rpc', > '-I', > '/usr/include/kadm5', > '-I', > '/usr/include/vm', > '-I', > '/usr/include/c++', > '-I', > '/usr/include/lzma', > '-I', > '/sys', > '-I', > '/dev', > '-I', > '/usr/src', > > There's no one on this mailing list that uses YCM for their FreeBSD development?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEnGEwXOkeAO_igPrY_QoCvvvUESx23ygKF-oY9etqOLQg>