From owner-freebsd-hackers Mon Dec 13 9:37:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 24EC614C11 for ; Mon, 13 Dec 1999 09:37:56 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA68272; Mon, 13 Dec 1999 10:37:54 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA44681; Mon, 13 Dec 1999 10:37:54 -0700 (MST) Message-Id: <199912131737.KAA44681@harmony.village.org> To: zeus@tetronsoftware.com Subject: Re: Xlib.h Question Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 13 Dec 1999 09:56:12 CST." <51F9B228ED26D311A17700A0C9982664010AA6@tetboss.tetronsoftware.com> References: <51F9B228ED26D311A17700A0C9982664010AA6@tetboss.tetronsoftware.com> Date: Mon, 13 Dec 1999 10:37:54 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <51F9B228ED26D311A17700A0C9982664010AA6@tetboss.tetronsoftware.com> "Gene Harris" writes: : The following includes incorrectly specify an X11 subdirectory: : : #include No. You are wrong. That include is 100% correct. It is the documented way to include X.h, and has been since at least X11R2 when I started doing X programming, and likely dates back to X11R1 (but I doubt it dates to X10R4, which is the first version of X I used, but didn't program in). : If I edit out the "X11/" subdir, everything compiles correctly. Is : this a known bug, or have I placed Xlib.h in the wrong subdir? (It is : found in /usr/X11R6/include/X11 on my machine.) The bug here is that you likely did a -I/usr/X11R6/include/X11 where you should have done a -I/usr/X11R6/include. This is a bug in your code, not in the X code. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message