We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Building with --enable-debug fails on Fedora 40 w/ c-ares 1.28.1 and gcc 14.1.1 with the following errors:
AresHandler.cxx: In member function 'void AresHandler::queryHost(const char*)': AresHandler.cxx:113:23: error: 'void ares_gethostbyname(ares_channel_t*, const char*, int, ares_host_callback, void*)' is deprecated: Use ares_getaddrinfo instead [-Werror=deprecated-declarations] 113 | ares_gethostbyname(aresChannel, name, AF_INET, staticCallback, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | (void *)this); | ~~~~~~~~~~~~~ In file included from ../../include/AresHandler.h:21, from AresHandler.cxx:14: /usr/include/ares.h:592:58: note: declared here 592 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_getaddrinfo) void ares_gethostbyname( | ^~~~~~~~~~~~~~~~~~ AresHandler.cxx: In member function 'void AresHandler::setFd(fd_set*, fd_set*, int&)': AresHandler.cxx:168:31: error: 'int ares_fds(ares_channel_t*, fd_set*, fd_set*)' is deprecated: Use ARES_OPT_EVENT_THREAD or ARES_OPT_SOCK_STATE_CB instead [-Werror=deprecated-declarations] 168 | int aresMaxFile = ares_fds(aresChannel, read_set, write_set) - 1; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ares.h:611:31: note: declared here 611 | ARES_OPT_SOCK_STATE_CB) int ares_fds(ares_channel_t *channel, | ^~~~~~~~ AresHandler.cxx: In member function 'void AresHandler::process(fd_set*, fd_set*)': AresHandler.cxx:177:17: error: 'void ares_process(ares_channel_t*, fd_set*, fd_set*)' is deprecated: Use ares_process_fd instead [-Werror=deprecated-declarations] 177 | ares_process(aresChannel, read_set, write_set); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ares.h:623:57: note: declared here 623 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_process_fd) void ares_process( | ^~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
#365
Sorry, something went wrong.
No branches or pull requests
Building with --enable-debug fails on Fedora 40 w/ c-ares 1.28.1 and gcc 14.1.1 with the following errors:
The text was updated successfully, but these errors were encountered: