Content-Length: 265065 | pFad | http://github.com/postgrespro/postgres/commit/a56e7b66010f330782243de9e25ac2a6596be0e1

B9 Silence LLVM 14 API deprecation warnings. · postgrespro/postgres@a56e7b6 · GitHub
Skip to content

Commit a56e7b6

Browse files
committed
Silence LLVM 14 API deprecation warnings.
We are going to need to handle the upcoming opaque pointer API changes[1], possibly in time for LLVM 15, but in the meantime let's silence the warnings produced by LLVM 14. [1] https://llvm.org/docs/OpaquePointers.html Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKG%2Bp%3DfaBQR2PSAqWoWa%2B_tJdKPT0wjZPQe7XcDEttUCgdQ%40mail.gmail.com
1 parent 8ef1fa3 commit a56e7b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/backend/jit/llvm/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ endif
2222
PGFILEDESC = "llvmjit - JIT using LLVM"
2323
NAME = llvmjit
2424

25+
# LLVM 14 produces deprecation warnings. We'll need to make some changes
26+
# before the relevant functions are removed, but for now silence the warnings.
27+
ifeq ($(GCC), yes)
28+
LLVM_CFLAGS += -Wno-deprecated-declarations
29+
endif
30+
2531
# All files in this directory use LLVM.
2632
CFLAGS += $(LLVM_CFLAGS)
2733
CXXFLAGS += $(LLVM_CXXFLAGS)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a56e7b66010f330782243de9e25ac2a6596be0e1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy