delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/29/14:25:15

Date: Thu, 29 Jun 2000 14:25:11 -0400
Message-Id: <200006291825.OAA19691@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <200006291823.UAA11037@father.ludd.luth.se> (message from Martin
Str|mberg on Thu, 29 Jun 2000 20:23:38 +0200 (MET DST))
Subject: Re: stdbool.h
References: <200006291823 DOT UAA11037 AT father DOT ludd DOT luth DOT se>
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

> I have a stdbool.h file in my djgpp/include directory. This the
> configure script of tar-1.12a detects. Unfortunately thereby demanding
> gcc to support (the C99) type _Bool. This is not great as current gcc
> (--version says 2.952) does not do this. So I think a little #if
> GCC_VERSION >= 3 magic (not correct, I know, but as an example)
> inserting something like "typedef enum { false = 0, true } bool;" if
> necessary would be good in stdbool.h.

Sounds like a bug in tar, not djgpp.  If it needs the _Bool type, it
should check for the _Bool type, not the <stdbool.h> header.

- Raw text -


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