Skip to content
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

PG16 compile error #155

Closed
robe2 opened this issue May 16, 2023 · 0 comments · Fixed by #156
Closed

PG16 compile error #155

robe2 opened this issue May 16, 2023 · 0 comments · Fixed by #156

Comments

@robe2
Copy link
Contributor

robe2 commented May 16, 2023

Seems to not compile against PG16 anymore

http.c:606:1: error: static declaration of ‘get_extension_schema’ follows non-static declaration
  606 | get_extension_schema(Oid ext_oid)
      | ^~~~~~~~~~~~~~~~~~~~
In file included from http.c:54:
/usr/include/postgresql/16/server/commands/extension.h:50:12: note: previous declaration of ‘get_extension_schema’ was here
   50 | extern Oid get_extension_schema(Oid ext_oid);
      |            ^~~~~~~~~~~~~~~~~~~~
http.c: In function ‘http_request’:
http.c:1157:9: warning: declaration of ‘content_type’ shadows a previous local [-Wshadow=compatible-local]
 1157 |   char *content_type;
      |         ^~~~~~~~~~~~
http.c:1015:8: note: shadowed declaration is here
 1015 |  char *content_type = NULL;
      |        ^~~~~~~~~~~~
make: *** [<builtin>: http.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant