-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error reported #169
Comments
@nIxedoahz Thanks for the report! This is surprising, and we haven't seen this failure in our own systems. Three questions:
|
Thanks
|
yes, is the same error |
Env:
protobuf-c 1.1.1
libprotoc 2.6.1
libpg_query-14-3.0.0
gcc version 4.8.1
error:(make)
compiling src/pg_query_split.c
In file included from ./src/postgres/include/postgres.h:47:0,
from src/pg_query_internal.h:4,
from src/pg_query_split.c:2:
./src/postgres/include/utils/elog.h:358:1: error: unknown type name 'sigjmp_buf'
extern PGDLLIMPORT __thread sigjmp_buf *PG_exception_stack;
^
src/pg_query_split.c: In function 'pg_query_split_with_scanner':
./src/postgres/include/utils/elog.h:315:3: error: unknown type name 'sigjmp_buf'
sigjmp_buf *_save_exception_stack = PG_exception_stack;
^
src/pg_query_split.c:54:3: note: in expansion of macro 'PG_TRY'
PG_TRY();
^
./src/postgres/include/utils/elog.h:317:3: error: unknown type name 'sigjmp_buf'
sigjmp_buf _local_sigjmp_buf;
^
src/pg_query_split.c:54:3: note: in expansion of macro 'PG_TRY'
PG_TRY();
^
src/pg_query_split.c:54:3: warning: implicit declaration of function 'sigsetjmp' [-Wimplicit-function-declaration]
src/pg_query_split.c:129:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
result.stderr_buffer = strdup(stderr_buffer);
^
src/pg_query_split.c:129:26: warning: assignment makes pointer from integer without a cast [enabled by default]
result.stderr_buffer = strdup(stderr_buffer);
^
src/pg_query_split.c:141:22: warning: assignment makes pointer from integer without a cast [enabled by default]
error->message = strdup(error_data->message);
^
src/pg_query_split.c:142:22: warning: assignment makes pointer from integer without a cast [enabled by default]
error->filename = strdup(error_data->filename);
^
src/pg_query_split.c:143:22: warning: assignment makes pointer from integer without a cast [enabled by default]
error->funcname = strdup(error_data->funcname);
^
make: *** [src/pg_query_split.o] Error 1
The text was updated successfully, but these errors were encountered: