public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Benjie Chen <benjie@amsterdam.lcs.mit.edu>
To: gcc@gcc.gnu.org
Subject: problem compiling gcc
Date: Tue, 01 Apr 2003 21:45:00 -0000	[thread overview]
Message-ID: <20030401195554.GB92170@amsterdam.lcs.mit.edu> (raw)


hi

i have ran into several problems compiling a non 3.1 version of gcc on MacOS
X.  3.1 does not compile one of our programs that uses c++ templates
aggresively, so i am trying some other versions of gcc.

with gcc 3.0.4: it says

cc -traditional-cpp -c  -DIN_GCC    -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I. -I./. -I./config -I./../include function.c -o function.o
function.c: In function `assign_stack_local_1':
function.c:598: `DEFAULT_ABI' undeclared (first use in this function)
function.c:598: (Each undeclared identifier is reported only once
function.c:598: for each function it appears in.)
function.c: In function `instantiate_virtual_regs':
function.c:3514: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `instantiate_decls':
function.c:3581: warning: comparison between signed and unsigned
function.c:3581: warning: signed and unsigned type in conditional expression
function.c: In function `aggregate_value_p':
function.c:4201: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `assign_parms':
function.c:4554: `DEFAULT_ABI' undeclared (first use in this function)
function.c: In function `locate_and_pad_parm':
function.c:5192: `DEFAULT_ABI' undeclared (first use in this function)
make: *** [function.o] Error 1


with gcc 3.2, the latest snapshot, it fails at c-common.o

builtin-attrs.def:118: missing right curly brace, found `_0'
builtin-attrs.def:118: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:119: undefined type, found `ATTR_PRINTF_1'
builtin-attrs.def:119: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:120: undefined type, found `ATTR_PRINTF_2'
builtin-attrs.def:120: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:121: undefined type, found `ATTR_PRINTF_2'
builtin-attrs.def:121: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:122: undefined type, found `ATTR_PRINTF_3'
builtin-attrs.def:122: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_3'
...


i am compiling them with gcc 3.1.

thanks,

benjie

             reply	other threads:[~2003-04-01 19:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 21:45 Benjie Chen [this message]
2003-04-01 23:18 ` Mike Stump
2003-04-02  1:10   ` Benjie Chen

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=20030401195554.GB92170@amsterdam.lcs.mit.edu \
    --to=benjie@amsterdam.lcs.mit.edu \
    --cc=gcc@gcc.gnu.org \
    /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).