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 1hrjd9-00030p-15 for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Jul 2019 13:54:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hrjd6-0006Er-Gv for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Jul 2019 13:54:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hrjd6-0006E0-8d for pgsql-hackers@lists.postgresql.org; Sun, 28 Jul 2019 13:54:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hrjd2-00005P-Sm for pgsql-hackers@lists.postgresql.org; Sun, 28 Jul 2019 13:54:27 +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 x6SDs56m024645; Sun, 28 Jul 2019 09:54:06 -0400 From: Tom Lane To: Fabien COELHO cc: Thomas Munro , didier , Alvaro Herrera , Pg Hackers , buildfarm@coelho.net Subject: Re: LLVM compile failing in seawasp In-reply-to: References: <20190606173216.GA6306@alvherre.pgsql> <5762.1559866377@sss.pgh.pa.us> Comments: In-reply-to Fabien COELHO message dated "Sun, 28 Jul 2019 09:47:17 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24643.1564322045.1@sss.pgh.pa.us> Date: Sun, 28 Jul 2019 09:54:05 -0400 Message-ID: <24644.1564322045@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Fabien COELHO writes: > Otherwise, why not simply move llvm C++ includes *before* postgres > includes? We've been burnt in the past by putting other headers before postgres.h. (A typical issue is that the interpretation of varies depending on _LARGE_FILES or a similar macro, so you get problems if something causes that to be included before pg_config.h has set that macro.) Maybe none of the platforms where that's an issue have C++, but that doesn't seem like a great assumption. > They should be fully independent anyway, so the order should > not matter? On what grounds do you claim that's true anywhere, let alone everywhere? regards, tom lane