public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: rbrown64@csc.com.au
To: gcc-gnats@gcc.gnu.org
Subject: other/8444: fastjar needs an ANSI compiler to build
Date: Sun, 03 Nov 2002 22:36:00 -0000	[thread overview]
Message-ID: <20021104063434.5704.qmail@sources.redhat.com> (raw)


>Number:         8444
>Category:       other
>Synopsis:       fastjar needs an ANSI compiler to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 03 22:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     rbrown64@csc.com.au
>Release:        3.2
>Organization:
>Environment:
hppa1.1-hp-hpux10.20 --with-gnu-as
>Description:
Build gcc-3.2 on hpux10.20 using the unbundled HP compiler
failed compiling fastjar because the compiler was left in K&R
mode. If fastjar requires an ANSI compiler shouldn't it be
built with the target compiler when host == target?

make[2]: Entering directory `/devel/src/gcc-3.2.obj/fastjar'
cc -DHAVE_CONFIG_H -I. -I..../gcc-3.2/fastjar -I. -I. -I..../gcc-3.2/fastjar \  
-I..../gcc-3.2/fa stjar/../zlib -I..../gcc-3.2/fastjar/../include -g -c \
..../gcc-3.2/fastjar/jartool.c

cc: "..../gcc-3.2/fastjar/dostime.h", line 22: error 1000: \
Unexpected symbol: "*".
cc: "..../gcc-3.2/fastjar/pushback.h", line 22: error 1000: \
Unexpected symbol: "ub1".
cc: "..../gcc-3.2/fastjar/pushback.h", line 30,31,32,83,85: error 1000: \
Unexpected symbol: "*".
cc: "..../gcc-3.2/fastjar/compress.h", line 85: error 1000: \
Unexpected symbol: "ub4".
cc: "..../gcc-3.2/fastjar/jartool.c", line 267: error 1000: \
Unexpected symbol: "*".
cc: "..../gcc-3.2/fastjar/dostime.h", line 20: error 1705: \
Function prototypes are an ANSI feature.
cc: "..../gcc-3.2/fastjar/dostime.h", line 21: error 1705: \
Function prototypes are an ANSI feature.
cc: "..../gcc-3.2/fastjar/dostime.h", line 22: error 1506: \
Parameters allowed in function definition only.
cc: "..../gcc-3.2/fastjar/pushback.h", line 22: error 1573 : \
Type of "pb_buff" is undefined due to an illegal declaration.
>How-To-Repeat:

>Fix:
Workaround: edit the build fastjar/Makefile to set CC to
the newly built compiler.
>Release-Note:
>Audit-Trail:
>Unformatted:


                 reply	other threads:[~2002-11-04  6:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20021104063434.5704.qmail@sources.redhat.com \
    --to=rbrown64@csc.com.au \
    --cc=gcc-gnats@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).