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:03:24 +0100

On Sat, May 17, 2008 at 10:02 AM, James Youngman <address@hidden> wrote:
> (Note, switched from nug-gnulib to bug-findutils)

This time, actually switching (bug-gnulib in BCC)...

>
> 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]