public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: Rodrigo Dominguez <roddomi@hotmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: ISO C90 forbids mixed declarations and code
Date: Wed, 16 Jan 2008 18:12:00 -0000	[thread overview]
Message-ID: <478D581C.3070103@avtrex.com> (raw)
In-Reply-To: <BAY129-DAV49480A298FB3E4A74CBE4B9400@phx.gbl>

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

      reply	other threads:[~2008-01-16  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 16:30 Rodrigo Dominguez
2008-01-16 18:12 ` David Daney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=478D581C.3070103@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=roddomi@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).