From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eric Gillespie Newsgroups: gmane.emacs.devel Subject: Re: GTK patches part 2 Date: Tue, 10 Dec 2002 15:08:19 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <15982.1039550899@remus.pretzelnet.org> References: <200212101928.gBAJSt16015021@stubby.bodenonline.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039552182 11923 80.91.224.249 (10 Dec 2002 20:29:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 20:29:42 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Lr0Q-00035j-00 for ; Tue, 10 Dec 2002 21:29:26 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LrB8-00043K-00 for ; Tue, 10 Dec 2002 21:40:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LqgF-0006cB-0C for emacs-devel@quimby.gnus.org; Tue, 10 Dec 2002 15:08:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Lqg2-0006br-00 for emacs-devel@gnu.org; Tue, 10 Dec 2002 15:08:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Lqg0-0006bf-00 for emacs-devel@gnu.org; Tue, 10 Dec 2002 15:08:21 -0500 Original-Received: from remus.pretzelnet.org ([216.37.46.186]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Lqg0-0006bW-00 for emacs-devel@gnu.org; Tue, 10 Dec 2002 15:08:20 -0500 Original-Received: from remus.pretzelnet.org (localhost [127.0.0.1]) by remus.pretzelnet.org (Postfix) with ESMTP id 53F031A285 for ; Tue, 10 Dec 2002 15:08:19 -0500 (EST) Original-To: emacs-devel@gnu.org User-Agent: nmh/1.0.4+dev (i386-unknown-netbsdelf1.6) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10040 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10040 "Jan D." writes: > Well, I don't usually add include:s unless needed. For example, > xterm.h includes X11 headers who in turn includes a lot of standard > headers. If what is needed gets included that way, I'm fine with it. You can't rely on that. If *you* make reference to symbols or macros, *you* need to include the appropriate header file, regardless of whether or not some other header you include also needs that header file. Sometimes people just dump all their includes into one local header file and just include that. It gets the job done, but then each file isn't explicitly declaring what it needs. -- Eric Gillespie <*> epg@pretzelnet.org Build a fire for a man, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. -Terry Pratchett