Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wV9Ho-001jD2-1q for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 14:43:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wV9Hn-0072BT-1A for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Jun 2026 14:43:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wV9Hn-0072BK-0O for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 14:43:07 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wV9Hl-000000015Ph-2AJf for pgsql-bugs@lists.postgresql.org; Thu, 04 Jun 2026 14:43:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 654Eh0mN3208218; Thu, 4 Jun 2026 10:43:00 -0400 From: Tom Lane To: depesz@depesz.com cc: PostgreSQL mailing lists Subject: Re: Warning while compiling 19beta1 In-reply-to: References: Comments: In-reply-to hubert depesz lubaczewski message dated "Thu, 04 Jun 2026 16:35:19 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3208216.1780584180.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Jun 2026 10:43:00 -0400 Message-ID: <3208217.1780584180@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk hubert depesz lubaczewski writes: > When doing so I got: > llvmjit.c: In function =E2=80=98llvm_split_symbol_name=E2=80=99: > llvmjit.c:1065:27: warning: assignment discards =E2=80=98const=E2=80=99 = qualifier from pointer target type [-Wdiscarded-qualifiers] > 1065 | *funcname =3D strrchr(name, '.'); > | ^ Yeah, some of the buildfarm animals have been showing this for awhile. I suppose it's from using a bleeding-edge LLVM version, because most of them don't show it. Which LLVM are you actually compiling against? regards, tom lane