[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Diffutils 2.8 is available
From: |
Albert Chin |
Subject: |
Re: GNU Diffutils 2.8 is available |
Date: |
Tue, 26 Mar 2002 14:37:37 -0600 |
User-agent: |
Mutt/1.2.5i |
On Mon, Mar 25, 2002 at 11:13:03AM -0800, Paul Eggert wrote:
> GNU Diffutils 2.8 is now available by anonymous FTP from:
>
> ftp://ftp.gnu.org/gnu/diffutils/diffutils-2.8.tar.gz
lib/exclude.c and lib/setmode.c do:
#if HAVE_STDBOOL_H
# include <stdbool.h>
#else
typedef enum {false = 0, true = 1} bool;
#endif
and src/system.h has:
#if HAVE_STDBOOL_H
# include <stdbool.h>
#else
# define bool unsigned char
#endif
On Tru64 UNIX with the Commercial C compiler (not the one from the
base OS), <stdbool.h> in /usr/include.dtk has:
#define bool _Bool
I have no idea what _Bool is but it isn't defined anywhere else in
/usr/include or /usr/include.dtk (DTK = Desktop Toolkit). This leads
to:
gmake[3]: Entering directory `/opt/build/diffutils-2.8/lib'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
-I/opt/TWWfsw/libiconv17/include -O2 -std1 -c `test -f exclude.c ||
echo './'`exclude.c
cc: Error: exclude.h, line 49: Missing ";". (nosemi)
bool excluded_filename PARAMS ((struct exclude const *, char const *));
-----^
--
albert chin (address@hidden)
-- snip snip
--- lib/exclude.c.orig Tue Mar 26 14:20:49 2002
+++ lib/exclude.c Tue Mar 26 14:21:03 2002
@@ -24,11 +24,7 @@
# include <config.h>
#endif
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
typedef enum {false = 0, true = 1} bool;
-#endif
#include <errno.h>
#ifndef errno
--- lib/setmode.c.orig Tue Mar 26 14:20:52 2002
+++ lib/setmode.c Tue Mar 26 14:21:10 2002
@@ -23,11 +23,7 @@
# include <config.h>
#endif
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
typedef enum {false = 0, true = 1} bool;
-#endif
#if HAVE_SETMODE_DOS
# include <io.h>
--- src/system.h.orig Tue Mar 26 14:29:06 2002
+++ src/system.h Tue Mar 26 14:29:18 2002
@@ -298,11 +298,7 @@
#define MIN(a, b) ((a) <= (b) ? (a) : (b))
#define MAX(a, b) ((a) >= (b) ? (a) : (b))
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-# define bool unsigned char
-#endif
+#define bool unsigned char
#if HAVE_VFORK_H
# include <vfork.h>