delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/02/01/20:58:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:content-type;
bh=ByF2o8oLGdz9T5WaFVN9kT7OW1APC/KI6GAprsUuscA=;
b=jtmKn8oRlLIZXYEKbDpOvnkoHeTOvgTzuMkFd0EC6J+8IeB1HI8k3dVy7okg0+Mzw1
tLmoTKK/1381wtm7zy2ctwGDRt59aummaQJxHpHh1gXZzyIVVjJ5eQ3AMmIwpE8osJ8z
k+T7oquDmZiOUTykAFNaCX6P9aMKWjQHyqCEjbdTcNEDRPa0UvKQUSsbCkNZRBT16aa0
D+b+zAFLD8WUkDSznhSVL0y3DwOsWFlnT8GwIAQiYe5yLimdMH37XHRhyPuQkMPosIWN
hEB/zhU5Kw/ZjBYBAngEmXuzUPBR/Ox47jvhrgbHq/ZBoyxElt3/DEQUJvPwAbRpKux2
jFnw==
MIME-Version: 1.0
X-Received: by 10.60.7.67 with SMTP id h3mr11261712oea.31.1359770317995; Fri,
01 Feb 2013 17:58:37 -0800 (PST)
In-Reply-To: <510C5916.6030502@gmx.de>
References: <510C5916 DOT 6030502 AT gmx DOT de>
Date: Fri, 1 Feb 2013 19:58:37 -0600
Message-ID: <CAA-ihx_2q_uD=pfeRmEUgVoE_mzkWa3LARn5m_Oj4f2TngRVbg@mail.gmail.com>
Subject: Re: stdint.h inclusion by inttypes.h
From: Rugxulo <rugxulo AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Fri, Feb 1, 2013 at 6:08 PM, Juan Manuel Guerrero
<juan DOT guerrero AT gmx DOT de> wrote:
>
> While I was trying to port unrtf I noted that inttypes.h does not include
> stdint.h.  Any objection if the patch below is committed?

For some reason (obviously my own ignorance), I was thinking that all
headers shouldn't include others, i.e. should be strictly isolated. I
guess that changed after C89.

http://pubs.opengroup.org/onlinepubs/009604599/basedefs/inttypes.h.html

"The <inttypes.h> header shall include the <stdint.h> header."

P.S. Be sure to also check C++ "cinttypes" and "cstdint" also, but I
have no idea if it should be the same or whatnot.

- Raw text -


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