From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: pgsql: Use FLEXIBLE_ARRAY_MEMBER in a bunch more places.
Date: Fri, 20 Feb 2015 16:42:55 +0100
Message-ID: <20150220154255.GD12653@awork2.anarazel.de> (raw)
In-Reply-To: <20150220153914.GC12653@awork2.anarazel.de>
References: <E1YOfse-0003eE-Jq@gemulon.postgresql.org>
<20150220153914.GC12653@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2015-02-20 16:39:14 +0100, Andres Freund wrote:
> SI'll just include -Wno-flexible-array-extensions for now.
Even after that I get:
/home/andres/src/postgresql/src/backend/utils/adt/tsrank.c:201:2: warning: flexible array initialization is a GNU extension
[-Wgnu-flexible-array-initializer]
{0}
^
/home/andres/src/postgresql/src/include/tsearch/ts_type.h:66:15: note: initialized flexible array member 'pos' is here
WordEntryPos pos[FLEXIBLE_ARRAY_MEMBER];
^
Not sure if somebody that supports FLEXIBLE_ARRAY_MEMBER will not
implement that extension - seems natural to me - but it might be
worthwhile fixing nonetheless.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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-committers@postgresql.org
Cc: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, michael.paquier@gmail.com
Subject: Re: pgsql: Use FLEXIBLE_ARRAY_MEMBER in a bunch more places.
In-Reply-To: <20150220154255.GD12653@awork2.anarazel.de>
References: <E1YOfse-0003eE-Jq@gemulon.postgresql.org> <20150220153914.GC12653@awork2.anarazel.de> <20150220154255.GD12653@awork2.anarazel.de>
* 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