public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/8444: fastjar needs an ANSI compiler to build
@ 2002-11-03 22:36 rbrown64
  0 siblings, 0 replies; only message in thread
From: rbrown64 @ 2002-11-03 22:36 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-04  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-03 22:36 other/8444: fastjar needs an ANSI compiler to build rbrown64

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).