VC++ build warnings/errors

47 views
Skip to first unread message

Lorenzo Fiorini

unread,
Mar 23, 2025, 11:29:40 AM (6 days ago) Mar 23
to harbou...@googlegroups.com
Just for information these are the warnings/errors:

...
ssl.c
..\contrib\hbssl\ssl.c(1303): warning C4244: 'argument': conversion from 'uint64_t' to 'long', possible loss of data
sslctx.c
..\contrib\hbssl\sslctx.c(531): warning C4244: 'argument': conversion from 'uint64_t' to 'long', possible loss of data
...
hbcurl\core.c(1696): error C2664: 'CURLcode curl_easy_setopt(CURL *,CURLoption,...)': cannot convert argument 2 from 'int' to 'CURLoption'
hbcurl\core.c(1696): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
...\vcpkg\installed\x64-windows\include\curl\easy.h(42): note: see declaration of 'curl_easy_setopt'
hbcurl\core.c(1696): note: while trying to match the argument list '(CURL *, int, long)'
...

best regards,
Lorenzo

Reply all
Reply to author
Forward
0 new messages