Commit 8014a4d
committed
src: suppress c-ares deprecation warnings
Suppress deprecation warnings for legacy c-ares APIs
(ares_parse_*_reply, ares_get_servers_ports, ares_set_servers_ports)
using compiler pragmas for Clang, GCC, and MSVC.
A full migration to the modern replacement APIs (ares_dns_parse,
ares_get_servers_csv, ares_set_servers_csv) is left as follow-up work.
Fixes: #52464
Signed-off-by: om-ghante <mr.omghante1@gmail.com>1 parent d080801 commit 8014a4d
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
| |||
0 commit comments