bug-gnulib
[Top][All Lists]
Advanced

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

Re: stdbool.h with AIX C-compiler


From: James Youngman
Subject: Re: stdbool.h with AIX C-compiler
Date: Sat, 17 May 2008 10:02:35 +0100

(Note, switched from nug-gnulib to bug-findutils)

On Wed, May 14, 2008 at 11:57 AM, Heinrich Mislik
<address@hidden> wrote:

[snip: gnulib bug report]

> I came across this, when the -iregex option of find didn't work
> (behaves like -regex). The above test-program reflects the situation
> in line 778 of regcomp.c:
>
>  err = re_string_construct (&regexp, pattern, length, preg-translate,
>                              syntax & RE_ICASE, dfa);
>
>
> syntax & RE_ICASE implicitly casted to bool always give false.
>
> I don't think, that the compliler is in error. Casting 256 to signed
> char gives 0 and therefor false. So simply replacing _Bool with
> signed char gives wrong results. This may happen with other compilers
> as well.

Thanks for reporting this problem.    Could you verify please that
this problem causes "make check" to fail on your system?   You may
need to install DegaGnu in order to run the tests.

Thanks,
James.




reply via email to

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