# make make[1]: Entering directory `/tmp/gcc-3.4.2/libiberty' if [ x"-fpic" != x ]; then \ gcc -c -DHAVE_CONFIG_H -s -O3 -march=i686 -I. -I./../include -W -Wall -Wtraditional -pedantic -fpic regex.c -o pic/regex.o; \ else true; fi regex.c:132: warning: conflicting types for built-in function 'malloc' In file included from /usr/include/bits/string2.h:1185, from /usr/include/string.h:360, from regex.c:151: /usr/include/stdlib.h:527: error: conflicting types for 'malloc' regex.c:132: error: previous declaration of 'malloc' was here /usr/include/stdlib.h:527: error: conflicting types for 'malloc' regex.c:132: error: previous declaration of 'malloc' was here In file included from ./../include/xregex.h:26, from regex.c:195: ./../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators In file included from regex.c:649: regex.c: In function `byte_regex_compile': regex.c:2473: warning: implicit declaration of function `free' regex.c: In function `byte_compile_range': regex.c:4548: warning: signed and unsigned type in conditional expression regex.c:4558: warning: signed and unsigned type in conditional expression regex.c:4558: warning: signed and unsigned type in conditional expression regex.c: In function `byte_re_compile_fastmap': regex.c:4898: warning: implicit declaration of function `abort' regex.c: In function `xregcomp': regex.c:8043: warning: signed and unsigned type in conditional expression regex.c: At top level: regex.c:8178: warning: unused parameter 'preg' make[1]: *** [regex.o] Error 1 make[1]: Leaving directory `/tmp/gcc-3.4.2/libiberty' make: *** [all-libiberty] Error 2
-- Summary: Problem compiling gcc 3.4.2 Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pierre42d at 9online dot fr CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18132