Re: [hypermail] Problems compiling Hypermail on three different platoforms

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Sat, 14 Apr 2001 10:41:51 -0700 (PDT)
Message-Id: <20010414174151.A1E471DB7_at_foxtrot.rahul.net>

 pbecker_at_meganesia.int.gu.edu.au (Peter Becker) writes:
>#line 183 "getdate.y"
>typedef union {
>int Number;
>enum _MERIDIAN Meridian;
>} YYSTYPE;
>#include <stdio.h>

>be found via http://meganesia.int.gu.edu.au/~pbecker/bison.simple --

 Your bison.simple differs from the one on my system. This line seems to cause the problem:

285c285
< YYSTYPE yyval; /* the variable used to return */

---

> YYSTYPE yyval=0; /* the variable used to return */
That "=0" is inconsistent with the union. The getdate.py code that generates the union looks like it has probably been used in many programs, so I'm guessing that your bison.simple should be considered wrong. Has anyone else seen a bison.simple like this? Removing the =0 from your bison.simple or the equivalent line of getdate.c should fix the problem. ------------------------------------------------------------------------------ Peter McCluskey | Fed up with democracy's problems? Examine Futarchy: http://www.rahul.net/pcm | http://hanson.gmu.edu/futarchy.pdf or .ps
Received on Sat 14 Apr 2001 07:44:54 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT