[Bug c/40016] New: regex_internal.h:185: error: integer overflow in preprocessor expression
happyarch at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 4 13:58:00 GMT 2009
Hi, when i compiling gnu parted 1.8.8 with gcc 4.5.0, got error
include regex.i
TIA
=========================================================================
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -I. -Os
-Werror -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c -o regex.lo regex.c
gcc -std=gnu99 -I. -Os -Werror -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c
regex.c -fPIC -DPIC -o .libs/regex.o
cc1: warnings being treated as errors
In file included from regex.c:58:
regex_internal.h:185: error: integer overflow in preprocessor expression
make[2]: *** [regex.lo] Error 1
make[2]: Leaving directory `/home/user/d/parted-1.8.8/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/d/parted-1.8.8/lib'
make: *** [all-recursive] Error 1
bash-4.0$ cc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr --libexecdir=/usr/lib
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-languages=c,c++ --disable-bootstrap
--disable-multilib
Thread model: posix
gcc version 4.5.0 20090503 (experimental) (GCC)
bash-4.0$
--
Summary: regex_internal.h:185: error: integer overflow in
preprocessor expression
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: happyarch at gmail dot com
GCC build triplet: x86_64
GCC host triplet: x86_64
GCC target triplet: x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40016
More information about the Gcc-bugs
mailing list