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

Commit52f4461

Browse files
committed
Fix make headerscheck
In the wake of commitsdac048f andecaf7c5, `make headerscheck`no longer generated all headers that are included by other headers,causing headerscheck/cpluspluscheck to fail. To fix, backpatch enoughmakefile rules from721856f to generate all required headers.Reported by Marina PolyakovaBackpatch to version 16 only, as the issue is not present on masterDiscussion:https://postgr.es/m/231ea1127719b2b3d6d1c05f75808981%40postgrespro.ru
1 parent2209c70 commit52f4461

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎src/backend/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ submake-utils-headers:
160160

161161
.PHONY: generated-headers
162162

163-
generated-headers:$(top_builddir)/src/include/storage/lwlocknames.h submake-catalog-headers submake-nodes-headers submake-utils-headers
163+
generated-headers:$(top_builddir)/src/include/storage/lwlocknames.h submake-catalog-headers submake-nodes-headers submake-utils-headers parser/gram.h
164164

165165
$(top_builddir)/src/include/storage/lwlocknames.h: storage/lmgr/lwlocknames.h
166166
prereqdir=`cd'$(dir $<)'>/dev/null&& pwd`&&\

‎src/backend/utils/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ all: distprep probes.h generated-header-symlinks
3838

3939
distprep: fmgr-stamp errcodes.h
4040

41-
.PHONY: generated-header-symlinks
41+
.PHONY: generated-header-symlinks submake-adt-headers
4242

43-
generated-header-symlinks:$(top_builddir)/src/include/utils/header-stamp$(top_builddir)/src/include/utils/probes.h
43+
generated-header-symlinks:$(top_builddir)/src/include/utils/header-stamp$(top_builddir)/src/include/utils/probes.h submake-adt-headers
44+
45+
submake-adt-headers:
46+
$(MAKE) -C adt jsonpath_gram.h
4447

4548
$(SUBDIRS:%=%-recursive): fmgr-stamp errcodes.h
4649

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp