From owner-freebsd-current@freebsd.org Fri Dec 8 14:02:54 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D0B0E84419 for ; Fri, 8 Dec 2017 14:02:54 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F192732F6 for ; Fri, 8 Dec 2017 14:02:53 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id i11so3344507wmf.4 for ; Fri, 08 Dec 2017 06:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=CgYw9qS7zVl2RwLDkbjEFQvOK6+Jc/GdrRDKkj4COJI=; b=mqYAb6pdVugiHSjVjVSSiRqrqmHsGj9PN+Ezpjxm0sWNEa4prfgUiK+HesLImxzvuK rrV0o7hQC65mNVog3rDDw/NlGXy+mnmZCISeybxXdznPfb8yd1pYLnsS68WUMFuB+hxE HZu1G6V3awKUeUM5NBt/sO9VwXuM0Vs+kfQMuEjB6T5rbaFkME5S7KNVhvTIMXu81brA Pbg05JsNQiQN/xEYUpiCGrDLTQSQ5pk0NWsJi+buboRzUdrtqz0xlgsApR4cdau//LJV j1AE4jfZdpXHG5LuEnWP8aSM4djw2wzscUiehoW0nl7glUKdgM4zBEJwav7sHQ0BOsLN i7cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=CgYw9qS7zVl2RwLDkbjEFQvOK6+Jc/GdrRDKkj4COJI=; b=aMLuDcho4EctTpe5a0p7UdW7H8/GN0GyabqYDgdT4o9a/dWKuOhZ3bnx0H688cJyTO JcqFCPr9sHEESleVAIqZMsGfAp3l9hRpvauR5F55r0sgPDuLQ4k1JtRcoR3Cbppt/oMc ekdnnESB4Bc3xZPgjVrXI/B94jRoe/duRruDYt7bVRRBOmEhDKBHjtO/kFncrpXx1MQ1 POyBS/NNRxCv7HVoennsjlGIyAdMY8/uQBK6kqlaVR1nyD7k2icVlnX1PgcOzPRUwxyv 2gMzPKWe8h9gcYfXPjOyd7bx4j2Yv6tmPX0eDHr6WEXYYdDzAASZ6CJbSPYywTowVWRJ ArpQ== X-Gm-Message-State: AKGB3mJvcK07o4Qg2qUEgi9CXWajqslwZad9pnRM9yFt6juXNym565Cg TnVUFWD0F+DTct3AjDkLDQo= X-Google-Smtp-Source: AGs4zMYhq+YdjOwomgQV9RjXTktVJRY+lxOA+ksQKPwphUUYWNMaTMc6dDT6exGGJQd0jTNSgyPdeA== X-Received: by 10.28.126.201 with SMTP id z192mr3171711wmc.121.1512741771941; Fri, 08 Dec 2017 06:02:51 -0800 (PST) Received: from ernst.home (p5B023D43.dip0.t-ipconnect.de. [91.2.61.67]) by smtp.gmail.com with ESMTPSA id o135sm1756882wmg.1.2017.12.08.06.02.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 06:02:50 -0800 (PST) Date: Fri, 8 Dec 2017 15:02:48 +0100 From: Gary Jennejohn To: blubee blubeeme Cc: FreeBSD current Subject: Re: valloric YCM [header definitions] Message-ID: <20171208150248.3338c2cc@ernst.home> In-Reply-To: References: Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 14:02:54 -0000 On Fri, 8 Dec 2017 21:23:04 +0800 blubee blubeeme wrote: > On Wed, Dec 6, 2017 at 2:18 AM, blubee blubeeme wrote: > > > I'm looking for where the u_int, u_long headers are defined? > > These are not headers, they're typedefs. These are defined in /usr/include/sys/types.h. This is the standard loacation for globally used typedefs. > > for instance MOD_LOAD, UNLOAD, ENOTSUP along with u_int and u_long aren't > > being picked up by libclang > > Errors like ENOTSUP are defined in /usr/include/sys/errno.h. This is the standard location for globally used error codes. > > 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? > > [snip] Apparently not. You seem to have all the usual include paths in the list. No idea why it's not working. -- Gary Jennejohn