Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXU0B-0008QY-V7 for pgsql-hackers@arkaria.postgresql.org; Sat, 09 May 2020 18:15:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jXU0A-0004UR-NR for pgsql-hackers@arkaria.postgresql.org; Sat, 09 May 2020 18:15:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXU0A-0004Qb-G2 for pgsql-hackers@lists.postgresql.org; Sat, 09 May 2020 18:15:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXU08-0006Zw-2J for pgsql-hackers@postgresql.org; Sat, 09 May 2020 18:15:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 049IF1AI004839; Sat, 9 May 2020 14:15:01 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org Subject: Re: Add -Wold-style-definition to CFLAGS? In-reply-to: <20200509174820.g4bwftmz7blz35ph@alap3.anarazel.de> References: <20200509174820.g4bwftmz7blz35ph@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 09 May 2020 10:48:20 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4837.1589048101.1@sss.pgh.pa.us> Date: Sat, 09 May 2020 14:15:01 -0400 Message-ID: <4838.1589048101@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Since gcc has a warning detecting such definition, I think we ought to > automatically add it when available? +1 regards, tom lane