This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/8444: fastjar needs an ANSI compiler to build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]