This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compilation error..


Good day!
Tell, please, what am I doing wrong for correct compilation:
in Fedora Core 4 Linux I'm trying to compile GCC 3.2.3 version.
At some point I'm getting this error:
=====================================================================
In file included from /distr/gcc-3.2.3/gcc/rtl.c:24:
/distr/gcc-3.2.3/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
/distr/gcc-3.2.3/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/distr/gcc-3.2.3/gcc -I/distr/gcc-3.2.3/gcc/. -I/distr/gcc-3.2.3/gcc/config -I/distr/gcc-3.2.3/gcc/../include /distr/gcc-3.2.3/gcc/read-rtl.c -o read-rtl.o
In file included from /distr/gcc-3.2.3/gcc/read-rtl.c:24:
/distr/gcc-3.2.3/gcc/rtl.h:125: warning: type of bit-field ‘code’ is a GCC extension
/distr/gcc-3.2.3/gcc/rtl.h:128: warning: type of bit-field ‘mode’ is a GCC extension
/distr/gcc-3.2.3/gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
/distr/gcc-3.2.3/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
/distr/gcc-3.2.3/gcc/read-rtl.c: In function ‘read_rtx’:
/distr/gcc-3.2.3/gcc/read-rtl.c:662: error: invalid lvalue in increment
make[2]: *** [read-rtl.o] Error 1
make[2]: Leaving directory `/distr/compiled/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/distr/compiled/gcc'
make: *** [bootstrap] Error 2
=============================================================================================

Thank you!

With the best regards,
Oleg Kotsyurbiy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]