Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goJw5-0008Li-ST for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 03:19:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1goJw4-0002dz-MO for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 03:19:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goJw4-0002YW-Cd for pgsql-hackers@lists.postgresql.org; Tue, 29 Jan 2019 03:19:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goJw1-00063p-Vl for pgsql-hackers@lists.postgresql.org; Tue, 29 Jan 2019 03:19:39 +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 x0T3JWxp022408; Mon, 28 Jan 2019 22:19:32 -0500 From: Tom Lane To: Andres Freund cc: pgsql-hackers@lists.postgresql.org Subject: Re: Header checking failures on LLVM-less machines In-reply-to: <20190129013753.5pjlj6laswxjnkli@alap3.anarazel.de> References: <19808.1548692361@sss.pgh.pa.us> <31363.1548723082@sss.pgh.pa.us> <20190129005553.tuydbrscrl454yqn@alap3.anarazel.de> <510.1548724909@sss.pgh.pa.us> <20190129013753.5pjlj6laswxjnkli@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 28 Jan 2019 17:37:53 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22406.1548731972.1@sss.pgh.pa.us> Date: Mon, 28 Jan 2019 22:19:32 -0500 Message-ID: <22407.1548731972@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > I don't think we are actually contradicting each other. The aim of that > error was to prevent pieces of code that aren't conditional on > --with-llvm from including llvmjit.h. I was, for a moment and wrongly, > thinking that we could style the header in a way that'd make it both for > safe for cpluspluscheck and still error in that case, but that was a > brainfart. But even leaving that brainfart aside, I'm not arguing > against adding those include guards, so ...? Works for me now. Thanks for fixing. regards, tom lane