bug-bison
[Top][All Lists]
Advanced

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

update: "make check" for bison 3.75 on HPUX 10.20 fails (several times)


From: Jost Martin
Subject: update: "make check" for bison 3.75 on HPUX 10.20 fails (several times)
Date: Fri, 22 Nov 2002 14:57:30 +0100

> Hello,
> 
> I just tried to compile bison 3.75 on HPUX 10.20 using HP tools.
> 'make check' for this fails at a bunch of tests:
> 

> Simple GLR Calculator.
> 
>  61: calc.at:480       FAILED near `calc.at:480'
>  62: calc.at:482       FAILED near `calc.at:482'
>  63: calc.at:483       ok
>  64: calc.at:484       FAILED near `calc.at:484'
>  65: calc.at:485       FAILED near `calc.at:485'
>  66: calc.at:486       FAILED near `calc.at:486'
>  67: calc.at:487       FAILED near `calc.at:487'
>  68: calc.at:489       ok
>  69: calc.at:491       ok
>  70: calc.at:493       FAILED near `calc.at:493'
>  71: calc.at:494       ok

Ok, I think I found one reason for this:
e.g.:
cc: "calc.c", line 117: error 1000: Unexpected symbol: "}".
cc: "calc.c", line 128: warning 23: Semicolon required after last member.
cc: "calc.c", line 128: warning 500: Unnamed struct/union members are ignored.
cc: "calc.c", line 114: error 1613: Zero-sized struct.

If I change the file to:
#ifndef YYLTYPE
typedef struct yyltype
{
  char dummy;
} yyltype;
# define YYLTYPE yyltype
# define YYLTYPE_IS_TRIVIAL 1
#endif

[dummy added]
This will compile.

Martin






reply via email to

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