public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ISO C90 forbids mixed declarations and code
@ 2008-01-16 16:30 Rodrigo Dominguez
  2008-01-16 18:12 ` David Daney
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Dominguez @ 2008-01-16 16:30 UTC (permalink / raw)
  To: gcc-help

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?

Thanks.

Rodrigo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-16  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-16 16:30 ISO C90 forbids mixed declarations and code Rodrigo Dominguez
2008-01-16 18:12 ` David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).