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 1lAJe0-000373-7S for pgsql-general@arkaria.postgresql.org; Thu, 11 Feb 2021 21:37:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lAJdz-0005D4-1w for pgsql-general@arkaria.postgresql.org; Thu, 11 Feb 2021 21:36:59 +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 1lAJdy-0005Cw-QY for pgsql-general@lists.postgresql.org; Thu, 11 Feb 2021 21:36:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAJds-0007IJ-IH for pgsql-general@lists.postgresql.org; Thu, 11 Feb 2021 21:36:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 11BLalwi1487673; Thu, 11 Feb 2021 16:36:47 -0500 From: Tom Lane To: "Daniel Westermann (DWE)" cc: "pgsql-general@lists.postgresql.org" Subject: Re: Compiler warnings on Debian 10 In-reply-to: References: ,<1451978.1613063762@sss.pgh.pa.us> ,<1484973.1613075622@sss.pgh.pa.us> Comments: In-reply-to "Daniel Westermann (DWE)" message dated "Thu, 11 Feb 2021 20:51:08 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1487671.1613079407.1@sss.pgh.pa.us> Date: Thu, 11 Feb 2021 16:36:47 -0500 Message-ID: <1487672.1613079407@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Looking at things more closely, I realize that the warnings are not showing up in most compiles (if they were, you'd have many more of them). They are only showing up in the llvmjit_*.cpp files, which need to be built with a C++ compiler not gcc. I can see in your make log that those are getting built with "c++", so now I wonder exactly which compiler that is. You could probably suppress these complaints by passing "CXX=g++" to configure. Or at least, you could if g++ was installed, but I think configure will default to that if it can find it... regards, tom lane