Re: incompatible pointer type - Mailing list pgsql-bugs

From Tom Lane
Subject Re: incompatible pointer type
Date
Msg-id 8664.1318962140@sss.pgh.pa.us
Whole thread Raw
In response to incompatible pointer type  (Robert Young <yayooo@gmail.com>)
Responses Re: incompatible pointer type
List pgsql-bugs
Robert Young <yayooo@gmail.com> writes:
> Platform:
> OpenBSD  4.9 GENERIC.MP#819 amd64 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

Hmm, what version of bison are you using?  Because the ones I've dealt
with emit

typedef union YYSTYPE {
    ...
} YYSTYPE;

which makes the code correct as-is.  Your proposed patch seems to me
to be making more assumptions about what bison will emit (specifically,
about the ordering of various code blocks) than what we're doing now.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: char(0)
Next
From: Robert Young
Date:
Subject: Re: incompatible pointer type