pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Young <yayooo@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: incompatible pointer type
Date: Tue, 18 Oct 2011 14:22:20 -0400
Message-ID: <8664.1318962140@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJjz_NhLdKSchC=nFFFUCfgQ-C1KG9W-TG3vX1JmMUGx2pGETA@mail.gmail.com>
References: <CAJjz_NhLdKSchC=nFFFUCfgQ-C1KG9W-TG3vX1JmMUGx2pGETA@mail.gmail.com>

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



view thread (11+ messages)  latest in thread

Message-ID: <8664.1318962140@sss.pgh.pa.us>
Permalink:  ../8664.1318962140@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8664.1318962140@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, yayooo@gmail.com
  Subject: Re: incompatible pointer type
  In-Reply-To: <8664.1318962140@sss.pgh.pa.us>
  References: <CAJjz_NhLdKSchC=nFFFUCfgQ-C1KG9W-TG3vX1JmMUGx2pGETA@mail.gmail.com> <8664.1318962140@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox