Re: Warning while compiling 19beta1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: depesz(at)depesz(dot)com
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Warning while compiling 19beta1
Date: 2026-06-04 14:43:00
Message-ID: 3208217.1780584180@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

hubert depesz lubaczewski <depesz(at)depesz(dot)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?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2026-06-04 14:55:31 BUG #19509: Typo in 19 beta release notes (debug_print_parse)
Previous Message hubert depesz lubaczewski 2026-06-04 14:35:19 Warning while compiling 19beta1