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: Bruno Haible
Subject: Re: error compiling regex gnulib module with pgcc compiler
Date: Thu, 5 Feb 2009 23:20:40 +0100
User-agent: KMail/1.9.9

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]

Bruno


[1] http://gcc.gnu.org/viewcvs/trunk/libcpp/expr.c?revision=141503&view=text
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505346
[3] http://lists.gnu.org/archive/html/bug-gnulib/2007-07/msg00014.html




reply via email to

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