Hi,

The patch is self explanatory. This fixes errors/waring from hostent::h_name:

```
[6/14] Building C object CMakeFiles/http.dir/ext/c-ares/libcares.c.o
In file included from /d/work-pps/ext/c-ares/libcares.c:26:
/d/work-pps/ext/c-ares/src/lib/ares_free_hostent.c: In
function ‘ares_free_hostent’:
/d/work-pps/backtest-engine/ext/c-ares/src/lib/ares_free_hostent.c:41:17:
warning: passing argument 1 of ‘ares_free’ discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
   41 |   ares_free(host->h_name);
      |             ~~~~^~~~~~~~
```

The patches to the Cygwin sources are under the 2-clause BSD license.

Attachment: 0001-Cygwin-netdb.h-remove-const-from-hostent.h_name.patch
Description: Binary data

Reply via email to