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

Deprecations when compiling on php 8.3 #548

Open
simPod opened this issue Jan 15, 2024 · 0 comments
Open

Deprecations when compiling on php 8.3 #548

simPod opened this issue Jan 15, 2024 · 0 comments
Labels

Comments

@simPod
Copy link

simPod commented Jan 15, 2024

Description

    /tmp/php-rdkafka/rdkafka.c: In function 'zim_RdKafka_setLogger':
    /tmp/php-rdkafka/rdkafka.c:664:5: warning: 'rd_kafka_set_logger' is deprecated [-Wdeprecated-declarations]
      664 |     rd_kafka_set_logger(intern->rk, logger);
          |     ^~~~~~~~~~~~~~~~~~~
    In file included from /tmp/php-rdkafka/kafka_error_exception.h:21,
                     from /tmp/php-rdkafka/rdkafka.c:26:
    /usr/local/include/librdkafka/rdkafka.h:4775:6: note: declared here
    /tmp/php-rdkafka/fun.c: In function 'zif_rd_kafka_errno2err':
    /tmp/php-rdkafka/fun.c:139:5: warning: 'rd_kafka_errno2err' is deprecated [-Wdeprecated-declarations]
      139 |     RETURN_LONG(rd_kafka_errno2err(errnox));
          |     ^~~~~~~~~~~
    In file included from /tmp/php-rdkafka/php_rdkafka.h:24,
                     from /tmp/php-rdkafka/fun.c:24:
    /usr/local/include/librdkafka/rdkafka.h:716:21: note: declared here
      716 | rd_kafka_resp_err_t rd_kafka_errno2err(int errnox);

php-rdkafka Version

6.0.3

librdkafka Version

1.7.0

PHP Version

8.3.1

Operating System

debian:bullseye

Kafka Version

No response

@simPod simPod added the bug label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant