delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/03/06/05:38:28

Date: Mon, 6 Mar 2000 12:16:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
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: <Pine.SUN.3.91.1000306120925.10971A-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019