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: Wed, 19 Oct 2011 16:41:05 -0400
Message-ID: <19486.1319056865@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJjz_Ngf+qK-aW_V4MCz3DKXaMcivOLg+q+ROofu46AM_4MUUA@mail.gmail.com>
References: <CAJjz_NhLdKSchC=nFFFUCfgQ-C1KG9W-TG3vX1JmMUGx2pGETA@mail.gmail.com>
	<8664.1318962140@sss.pgh.pa.us>
	<CAJjz_NhWWDbPL8H02k1kEKmq8n20VgiRgJsWSZ52_ifyhvvz8A@mail.gmail.com>
	<1946.1318993011@sss.pgh.pa.us>
	<2035.1318993272@sss.pgh.pa.us>
	<CAJjz_NjLh_8BjX97eufNfScb8KhOVDiQnyyRCaoRd7CNqscf+A@mail.gmail.com>
	<CAJjz_Ngf+qK-aW_V4MCz3DKXaMcivOLg+q+ROofu46AM_4MUUA@mail.gmail.com>

Robert Young <yayooo@gmail.com> writes:
> As I tested, if you explicit appoint a union tag, the OpenBSD m4 and
> GNU m4 work identically.
> And This explicit definition just corresponding to the forward-declaration.

> As mentioned in
> http://www.gnu.org/s/bison/manual/html_node/Union-Decl.html
> This feature is a POSIX  extension.
> I don't know what impact to other platform.

> So I suppose this should be the appropriate patch to solve this problem

I don't think we're going to worry too much about making plpgsql cope
with an m4 that's too old to support autoconf, which I gather is the
case from the bison bug report thread I mentioned before.  If you're
going to be changing the source code or working from a git pull, you
need to have reasonably non-broken tools.  We do provide pre-made bison
output in release tarballs, if you don't want to take the responsibility
of having a non-buggy bison available.

			regards, tom lane



view thread (11+ messages)

Message-ID: <19486.1319056865@sss.pgh.pa.us>
Permalink:  ../19486.1319056865@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19486.1319056865@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: <19486.1319056865@sss.pgh.pa.us>
  References: <CAJjz_NhLdKSchC=nFFFUCfgQ-C1KG9W-TG3vX1JmMUGx2pGETA@mail.gmail.com> <8664.1318962140@sss.pgh.pa.us> <CAJjz_NhWWDbPL8H02k1kEKmq8n20VgiRgJsWSZ52_ifyhvvz8A@mail.gmail.com> <1946.1318993011@sss.pgh.pa.us> <2035.1318993272@sss.pgh.pa.us> <CAJjz_NjLh_8BjX97eufNfScb8KhOVDiQnyyRCaoRd7CNqscf+A@mail.gmail.com> <CAJjz_Ngf+qK-aW_V4MCz3DKXaMcivOLg+q+ROofu46AM_4MUUA@mail.gmail.com> <19486.1319056865@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