Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YOpjO-0001w8-AY for pgsql-committers@arkaria.postgresql.org; Fri, 20 Feb 2015 15:43:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YOpjN-0007C9-Hp for pgsql-committers@arkaria.postgresql.org; Fri, 20 Feb 2015 15:43:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YOpjM-0007C2-JA for pgsql-committers@postgresql.org; Fri, 20 Feb 2015 15:43:04 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YOpjJ-0007PP-HP for pgsql-committers@postgresql.org; Fri, 20 Feb 2015 15:43:02 +0000 Received: from anarazel.de ([93.220.75.248]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0LmT35-1XowoV2ZjX-00aCaV; Fri, 20 Feb 2015 16:42:56 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 9E655100BDC; Fri, 20 Feb 2015 16:42:55 +0100 (CET) Date: Fri, 20 Feb 2015 16:42:55 +0100 From: Andres Freund To: Tom Lane Cc: pgsql-committers@postgresql.org, Michael Paquier Subject: Re: pgsql: Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. Message-ID: <20150220154255.GD12653@awork2.anarazel.de> References: <20150220153914.GC12653@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150220153914.GC12653@awork2.anarazel.de> X-Provags-ID: V03:K0:xsQjNPNiYu6rI4kU2MGGN1WQRSZC3xXH/FM8oFjhyCm0pqtAdEE gULZoP0gK8vb5FxQqYRMI4ts6leT1IKkHkmzTvsHLifqPz5+wspcHR+hxndT0CMUOwEUec5 /4CEUs0/RXqZ8peYnQwXOBtikyXpyMgo1HZVhI0+aj7vx7CZuJVvTyPURCVfafCk6Z9vuOt a/5kF5OL9KEJI6tN70HFA== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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