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 
-W
     -W
     write-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare
     -Wmissing-pr
     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?

J'

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


Attachment: pgpNX2ytlKabA.pgp
Description: PGP signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to