Re: pgsql: Track LLVM 15 changes. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Track LLVM 15 changes.
Date
Msg-id 1407185.1766682319@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Track LLVM 15 changes.  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-committers
[ blast-from-the-past dept. ]

Thomas Munro <thomas.munro@gmail.com> writes:
> Shortly I'll do the back-patch of LLVM 14 API changes (their final
> release tag is scheduled for tomorrow, as I've been reminded by
> package maintainers trying and failing to build).  But I figured I
> should also follow up on this bandaid solution to the API deprecation
> warnings, that is, silencing them for now, so we don't spew screeds of
> warnings.  Does someone have a better idea than the attached?

The bit added by commit a56e7b660 is still there in
src/backend/jit/llvm/Makefile:

+# LLVM 14 produces deprecation warnings.  We'll need to make some changes
+# before the relevant functions are removed, but for now silence the warnings.
+ifeq ($(GCC), yes)
+LLVM_CFLAGS += -Wno-deprecated-declarations
+endif

Surely we don't need this anymore?  I tried removing it locally
and didn't see any such warnings (with Red Hat's llvm 20.1.8).

            regards, tom lane



pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Move attribute statistics functions to stat_utils.c
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix typo in stat_utils.c