legendzyb opened a new issue, #1975:
URL: https://github.com/apache/age/issues/1975
**Describe the bug**
I am trying to integrate the AGE plugin into Greenplum. Since Greenplum 7 is
based on PostgreSQL 12, I think it should be compilable and usable. I used the
version package of age-PG12-v1.5.0-rc0, but I encountered an error when
compiling AGE separately. What is the problem? Or does AGE not support the
Greenplum 7 database?
**How are you accessing AGE (Command line, driver, etc.)?**
none
**What data setup do we need to do?**
compile
**What is the necessary configuration info needed?**
none
**What is the command that caused the error?**
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -Wno-unused-but-set-variable
-Werror=implicit-fallthrough=3 -Wno-format-truncation -Wno-stringop-truncation
-O3 -std=gnu99 -Werror=uninitialized -Werror=implicit-function-declaration
-fPIC -I.//src/include -I.//src/include/parser -I. -I./
-I/root/greenplum-db-7.0.0/include/postgresql/server
-I/root/greenplum-db-7.0.0/include/postgresql/internal -D_GNU_SOURCE
-I/usr/include/libxml2 -c -o src/backend/parser/ag_scanner.o
src/backend/parser/ag_scanner.c
src/backend/parser/ag_scanner.l: In function ‘_scan_errmsg’:
src/backend/parser/ag_scanner.l:1171:16: error: void value not ignored as it
ought to be
else
^
src/backend/parser/ag_scanner.l:1173:16: error: void value not ignored as it
ought to be
}
^
src/backend/parser/ag_scanner.l: In function ‘_scan_errposition’:
src/backend/parser/ag_scanner.l:1187:12: error: void value not ignored as it
ought to be
}
^
src/backend/parser/ag_scanner.l: In function ‘_scan_errmsg’:
src/backend/parser/ag_scanner.l:1174:1: warning: control reaches end of
non-void function [-Wreturn-type]
^
src/backend/parser/ag_scanner.l: In function ‘_scan_errposition’:
src/backend/parser/ag_scanner.l:1188:1: warning: control reaches end of
non-void function [-Wreturn-type]
^
make: *** [src/backend/parser/ag_scanner.o] Error 1
**Expected behavior**
Compilation successful
**Environment (please complete the following information):**
Linux version 3.10.0-1160.119.1.el7.x86_64
([email protected]) (gcc version 4.8.5 20150623 (Red Hat
4.8.5-44) (GCC) ) #1 SMP Tue Jun 4 14:43:51 UTC 2024
gcc version 8.5.0 (GCC)
flex 2.6.1
bison (GNU Bison) 3.0.4
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]