Re: Warning while compiling 19beta1
hubert depesz lubaczewski <depesz@depesz.com>
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2026-06-04T15:12:21Z
Lists: pgsql-bugs
On Thu, Jun 04, 2026 at 10:43:00AM -0400, Tom Lane wrote: > hubert depesz lubaczewski <depesz@depesz.com> writes: > > When doing so I got: > > > llvmjit.c: In function ‘llvm_split_symbol_name’: > > llvmjit.c:1065:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > > 1065 | *funcname = 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? configure output contained: checking for llvm-config... /usr/bin/llvm-config configure: using llvm 21.1.8 Best regards, depesz
Commits
-
Fix another case of indirectly casting away const.
- c35f85ac02a1 19 (unreleased) landed
- cefe7576404f 17 (unreleased) landed
- 96d68502801d 15 (unreleased) landed
- 92f26d582632 16 (unreleased) landed
- 7bdff3e890e3 14 (unreleased) landed
- 0228d098ac48 18 (unreleased) landed
-
Small terminology fixes in comments
- f0aedc7cb0ed 19 (unreleased) cited