You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../src/resolv/async_resolv.c: In function ‘resolv_gethostbyname_dns_query’:
../src/resolv/async_resolv.c:882:5: warning: ‘ares_search’ is deprecated: Use ares_search_dnsrec instead [-Wdeprecated-declarations]
882 | ares_search(state->resolv_ctx->channel,
| ^~~~~~~~~~~
In file included from ../src/resolv/async_resolv.c:30:
/usr/include/ares.h:572:60: note: declared here
572 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_search_dnsrec) void ares_search(
| ^~~~~~~~~~~
../src/resolv/async_resolv.c: In function ‘resolv_gethostbyname_dns_parse’:
../src/resolv/async_resolv.c:968:13: warning: ‘ares_parse_a_reply’ is deprecated: Use ares_dns_parse instead [-Wdeprecated-declarations]
968 | status = ares_parse_a_reply(abuf, alen, &hostent,
| ^~~~~~
/usr/include/ares.h:771:55: note: declared here
771 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_dns_parse) int ares_parse_a_reply(
| ^~~~~~~~~~~~~~~~~~
../src/resolv/async_resolv.c:981:13: warning: ‘ares_parse_aaaa_reply’ is deprecated: Use ares_dns_parse instead [-Wdeprecated-declarations]
981 | status = ares_parse_aaaa_reply(abuf, alen, &hostent,
| ^~~~~~
/usr/include/ares.h:775:55: note: declared here
775 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_dns_parse) int ares_parse_aaaa_reply(
| ^~~~~~~~~~~~~~~~~~~~~
../src/resolv/async_resolv.c: In function ‘resolv_getsrv_done’:
../src/resolv/async_resolv.c:1858:5: warning: ‘ares_parse_srv_reply’ is deprecated: Use ares_dns_parse instead [-Wdeprecated-declarations]
1858 | ret = ares_parse_srv_reply(abuf, alen, &reply_list);
| ^~~
/usr/include/ares.h:789:55: note: declared here
789 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_dns_parse) int ares_parse_srv_reply(
| ^~~~~~~~~~~~~~~~~~~~
../src/resolv/async_resolv.c: In function ‘resolv_getsrv_query’:
../src/resolv/async_resolv.c:1942:5: warning: ‘ares_query’ is deprecated: Use ares_query_dnsrec instead [-Wdeprecated-declarations]
1942 | ares_query(state->resolv_ctx->channel, state->query,
| ^~~~~~~~~~
/usr/include/ares.h:549:59: note: declared here
549 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_query_dnsrec) void ares_query(
| ^~~~~~~~~~
The text was updated successfully, but these errors were encountered:
alexey-tikhonov
changed the title
Updated resolv/async_resolv.c to avoid using deprecated stuff
Update resolv/async_resolv.c to avoid using deprecated stuff
Sep 9, 2024
instead of deprecated `ares_parse_a/aaaa/_reply()`
This patch doesn't replace `ares_parse_srv_reply()` as benefints
are quite questionable.
Partially resolvesSSSD#7571
The text was updated successfully, but these errors were encountered: