Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byYu1-0003nQ-Oq for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 06:38:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1byYu1-00032H-Bf for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 06:38:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1byYse-0001Uk-U7 for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 06:37:09 +0000 Received: from jiboia.ensmp.fr ([194.214.158.137] helo=cc-tupan-roaming-a.ensmp.fr) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byYsb-0000mO-U8 for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 06:37:07 +0000 Received: from cri.ensmp.fr (net-93-151-234-8.cust.dsl.teletu.it [93.151.234.8]) (authenticated bits=0) by cc-tupan-roaming-a.ensmp.fr (8.15.2/8.15.1/JMMC-22/Oct/2013) with ESMTPSA id u9O6aufB009964 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 24 Oct 2016 08:36:59 +0200 Date: Mon, 24 Oct 2016 08:36:55 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@lancre To: Michael Paquier cc: Magnus Hagander , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Miltered: at cc-tupan-roaming-a.ensmp.fr with ID 580DAC08.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 580DAC08.000 from net-93-151-234-8.cust.dsl.teletu.it/net-93-151-234-8.cust.dsl.teletu.it/93.151.234.8/cri.ensmp.fr/ X-Pg-Spam-Score: -3.2 (---) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org >> C99-specific feature, and wasn't intentional in the first place. >> >> Per buildfarm member mylodon > > This is the second time I see that in the last couple of weeks. Would > it be better to use some custom CFLAGS to detect that earlier in the > review process? I have never much used gcc's std or clang extensions > in this area. Has somebody any recommendations? My 0.02€, I've used the following for years without problem, but it would need testing with a several versions of gcc & clang before committing: sh> gcc -std=c89/... ... sh> clang -std=c89/... ... And a free advice, hoping not to start a troll: Even as conservative and old fashioned as I am, I was 18 in 1989 and had a driving license. In 2017 C99 will also turn 18 and might be considered old and stable enough for pg:-) I find it annoying that "//" comments are not supported, or having to declare variables at the beginning of a block instead of when first used... -- Fabien. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers