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

Appearance settings

Commit 455dbc0

Browse filesBrowse files
committed
Use "-I." in directories holding Bison parsers, for Oracle compilers.
With the Oracle Developer Studio 12.6 compiler, #line directives alter the current source file location for purposes of #include "..." directives. Hence, a VPATH build failed with 'cannot find include file: "specscanner.c"'. With two exceptions, parser-containing directories already add "-I. -I$(srcdir)"; eliminate the exceptions. Back-patch to 9.6 (all supported versions).
1 parent c3556f6 commit 455dbc0
Copy full SHA for 455dbc0

File tree

Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed

‎src/backend/utils/adt/Makefile

Copy file name to clipboardExpand all lines: src/backend/utils/adt/Makefile
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ subdir = src/backend/utils/adt
88
top_builddir = ../../../..
99
include $(top_builddir)/src/Makefile.global
1010

11+
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
12+
1113
# keep this list arranged alphabetically or it gets to be a mess
1214
OBJS = \
1315
acl.o \

‎src/test/isolation/Makefile

Copy file name to clipboardExpand all lines: src/test/isolation/Makefile
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ subdir = src/test/isolation
99
top_builddir = ../../..
1010
include $(top_builddir)/src/Makefile.global
1111

12-
override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) -I$(srcdir)/../regress $(CPPFLAGS)
12+
override CPPFLAGS := -I. -I$(srcdir) -I$(libpq_srcdir) \
13+
-I$(srcdir)/../regress $(CPPFLAGS)
1314

1415
OBJS = \
1516
$(WIN32RES) \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.