[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: [bug #13012] Make crashes on barchart.c

From: John Darrington
Subject: Re: PSPP-BUG: [bug #13012] Make crashes on barchart.c
Date: Sun, 8 May 2005 08:21:30 +0800
User-agent: Mutt/1.5.4i

On Sat, May 07, 2005 at 02:28:36PM +0000, anonymous wrote:
     I got a fresh copy from cvs and I also upgraded my perl to
     5.8.4.  Make chugs along quite nicely now but crashes when
     it tries to compile barchart.c.  Here's the output.
     gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../src -I../lib -I../intl   -Wall 
     write-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare
     ototypes -ansi  -Dunix  -g -O2 -c barchart.c
     barchart.c: In function `draw_barchart':
     barchart.c:128: parse error before `double'
     barchart.c:160: `ordinate_scale' undeclared (first use in this function)
     barchart.c:160: (Each undeclared identifier is reported only once
     barchart.c:160: for each function it appears in.)
     make[3]: *** [barchart.o] Error 1
     I'm running [...] gcc 2.95.4, ....

I thought that the -ansi option was supposed to trap non C89
constructs, but it seems not.  The only way they can be trapped is
with -pedantic-errors, but that produces errors on a lot of other
things too.

Can anyone think of how to solve this problem?


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: pgpYA6Tkx4JDi.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]