Date: Mon, 6 Mar 2000 12:16:45 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: djgpp-workers AT delorie DOT com Subject: Re: iso646.h and some questions In-Reply-To: <200003060929.KAA16122@mars.lu.erisoft.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 6 Mar 2000, Martin Stromberg wrote: > But for inttypes.h it explicitly says that inttypes.h #includes > stdint.h. So I get the impression that files shouldn't #include each > other unless it is stated. I don't think the standard requires that no header includes other headers (I can't find this requirement in teh standard). I do think that it is desirable when possible. That's why I said that each case should be discussed separately. An alternative to including other headers would be to define an internal header and include it from several standard headers. This is how sys/djtypes.h was born.