Error building with hbcurl in Debian 12 x64:

100 views
Skip to first unread message

Lorenzo Fiorini

unread,
Mar 24, 2025, 7:41:31 AMMar 24
to harbou...@googlegroups.com
../../../../../contrib/hbcurl/core.c: In function ‘HB_FUN_CURL_WS_RECV’:
../../../../../contrib/hbcurl/core.c:2676:30: warning: passing argument 5 of ‘curl_ws_recv’ from incompatible pointer type [-Wincompatible-pointer-types]
 2676 |                              &meta );
      |                              ^~~~~
      |                              |
      |                              const struct curl_ws_frame **
In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195,
                 from ../../../../../contrib/hbcurl/core.c:49:
/usr/include/x86_64-linux-gnu/curl/websockets.h:57:58: note: expected ‘struct curl_ws_frame **’ but argument is of type ‘const struct curl_ws_frame **’
   57 |                                   struct curl_ws_frame **metap);
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~

Regards,
Lorenzo
Message has been deleted

Aleksander Czajczynski

unread,
Mar 28, 2025, 2:14:35 AMMar 28
to harbou...@googlegroups.com
Hello!

https://github.com/curl/curl/commit/78886afb50946729fd2e0e422203415789a63a32

const qualifier was added in curl 8.2.0, is this a hard build error
somehow (warning below)?

Best regards, Aleksander

Lorenzo Fiorini

unread,
Mar 28, 2025, 4:19:11 AMMar 28
to harbou...@googlegroups.com
Hi Aleksander,

not sure if this can help, but these are the deps I use actually:
curl           7.88.1-10+deb12u12 amd64        command line tool for transferring data with URL syntax
...
curl:x64-windows                                  8.12.1              A library for transferring data with URLs
curl:x86-windows                                  8.12.1              A library for transferring data with URLs
...
and I don't get errors in the build.

Best regards,
Lorenzo


--
You received this message because you are subscribed to the Google Groups "Harbour Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-deve...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-devel/67E63E44.7080202%40fki.pl.
Reply all
Reply to author
Forward
0 new messages