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

fix: Update pg_amqp.c #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: Update pg_amqp.c #43

wants to merge 1 commit into from

Conversation

kumy
Copy link

@kumy kumy commented Jun 23, 2024

Fixes #41
Should fix such errors

src/pg_amqp.c:140:21: error: parameter 'broker_id' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  140 | local_amqp_get_a_bs(broker_id) {
      |                     ^
src/pg_amqp.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  140 | local_amqp_get_a_bs(broker_id) {
      | ^
src/pg_amqp.c:152:19: error: parameter 'broker_id' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  152 | local_amqp_get_bs(broker_id) {
      |                   ^
src/pg_amqp.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  152 | local_amqp_get_bs(broker_id) {
      | ^
src/pg_amqp.c:239:23: error: parameter 'broker_id' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  239 | local_amqp_disconnect(broker_id) {
      |                       ^
src/pg_amqp.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  239 | local_amqp_disconnect(broker_id) {
      | ^
4 warnings and 3 errors generated.

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 this pull request may close these issues.

make: /usr/lib64/ccache/clang: No such file or directory (oracle linux 9)
1 participant