bug-gnulib
[Top][All Lists]
Advanced

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

Re: error compiling regex gnulib module with pgcc compiler


From: Jim Meyering
Subject: Re: error compiling regex gnulib module with pgcc compiler
Date: Fri, 06 Feb 2009 06:22:15 +0100

Bruno Haible <address@hidden> wrote:
> Jim Meyering wrote:
>> I'm reverting this patch,
>>
>>     http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=e48d8b47fb3eee8
>>
>> since with the upcoming gcc-4.4 it causes a compilation error:
>>
>>     regex_internal.h:189:55: error: integer overflow in preprocessor 
>> expression
>
> Looks right to me, too.
>
> Just for the record, "integer overflow in preprocessor expression" is a
> warning, that becomes an error only if -Werror or -pedantic-errors is used.
> [1][2]
>
> gnulib tries to avoid warnings on glibc systems, but does not guarantee
> their complete absence.[3]

Right.
The difference is that I require a warning-free
build in coreutils/src/, and hence use -Werror there.
With the newer gcc, this public header from gnulib evoked
a warning (error-for-me) while building in src/.




reply via email to

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