Build failed with the latest libcurl on EL9 (RockyLinux 9.3)
src/worker.c: In function ‘worker_main’:
src/worker.c:351:57: error: call to ‘_curl_easy_getinfo_err_long’ declared with attribute warning: curl_easy_getinfo expects a pointer to long for this info [-Werror=attribute-warning]
351 | curl_easy_getinfo(eh, CURLINFO_RESPONSE_CODE, &http_status_code);
Bug report
Describe the bug
Build failed with the latest libcurl on EL9 (RockyLinux 9.3)
To Reproduce
generic/rocky9
vm and setup building environmentExpected behavior
The compile could pass if you change the
int
tolong
: https://github.com/supabase/pg_net/blob/master/src/worker.c#L349Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.