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

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200006291823.UAA11037@father.ludd.luth.se>
Subject: stdbool.h
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Thu, 29 Jun 2000 20:23:38 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers 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.

Opinions?


Right,

						MartinS

- Raw text -


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