[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] Re: lib/stdbool_.h doesn't honor HAVE__BOOL

From: Bruno Haible
Subject: Re: [bug-gnulib] Re: lib/stdbool_.h doesn't honor HAVE__BOOL
Date: Tue, 24 Jan 2006 22:57:51 +0100
User-agent: KMail/1.5

Paul Eggert wrote on 2005-11-26:
> Here is a proposed patch,
> which I've installed into coreutils (but not gnulib).

Thanks for the patch, and I'm sorry for the long delay in looking at it.

Two points that I don't understand:

>  /* BeOS <sys/socket.h> already #defines false 0, true 1.  We use the same
> -   definitions below, but temporarily we have to #undef them.  */
> +   definitions below, which is OK.  */
>  #ifdef __BEOS__
>  # include <OS.h> /* defines bool but not _Bool */
> -# undef false
> -# undef true
>  #endif

Do you have a machine on which you tested this part? I mean, I wouldn't
have put in the #undefs if I hadn't seen gcc warnings otherwise.

> +       #if defined __xlc__ || __GNUC__
> +        /* Catch a bug in IBM AIX xlc compiler version
> +           reported by James Lemley on 2005-10-05; see

If this is meant to catch a bug in XLC, what's the purpose of the
__GNUC__ conditional?

I committed this part of the m4/stdbool.m4 patch, without the __GNUC__.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]