Re: Warning while compiling 19beta1 - Mailing list pgsql-bugs

From hubert depesz lubaczewski
Subject Re: Warning while compiling 19beta1
Date
Msg-id aiGV1RkAFwJbAxA9@depesz.com
Whole thread
List 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




pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Warning while compiling 19beta1
Next
From: Sergey Shinderuk
Date:
Subject: Re: BUG #19509: Typo in 19 beta release notes (debug_print_parse)