Rodrigo Dominguez wrote:
Hi, I am trying to install GCC as explained in http://gcc.gnu.org/install : svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc mkdir gcc-obj cd gcc-obj ./gcc/configure make I am getting the following error: /home/rdomingu/gcc-obj/./prev-gcc/xgcc -B/home/rdomingu/gcc-obj/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber ./../gcc/gcc/cp/parser.c -o cp/parser.o cc1: warnings being treated as errors ./../gcc/gcc/cp/parser.c: In function âcp_parser_template_parameterâ: ./../gcc/gcc/cp/parser.c:9411: error: ISO C90 forbids mixed declarations and code make[3]: *** [cp/parser.o] Error 1 Any ideas?
This has been fixed. svn up and try again. David Daney