Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita56e7b6

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp