curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

RE: [release candidate] curl 8.19.0-rc1

From: Marcel Raad via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 12 Feb 2026 09:30:48 +0000

Hi,

> From: curl-library <curl-library-bounces_at_lists.haxx.se> On Behalf Of Daniel Stenberg via curl-library
> Sent: Thursday, 12 February 2026 09:31
> To: curl users <curl-users_at_lists.haxx.se>; curl-announce_at_lists.haxx.se; libcurl hacking <curl-library_at_lists.haxx.se>
> Cc: Daniel Stenberg <daniel_at_haxx.se>
> Subject: [release candidate] curl 8.19.0-rc1
>
> Please try release candidates in your use cases and products and verify that
> everything works as intended!

I'm getting new warnings with clang 21 about the Curl_scheme constants added in
https://github.com/curl/curl/commit/8edc0338f30f458f812f9ea355de1240771fa343
not being declared as static:

/lib/tftp.c:1360:26: error: no previous extern declaration for non-static variable 'Curl_scheme_tftp' [-Werror,-Wmissing-variable-declarations]
1360 | const struct Curl_scheme Curl_scheme_tftp = {
     | ^
lib/tftp.c:1360:7: note: declare 'static' if the variable is not intended to be used outside of this translation unit
1360 | const struct Curl_scheme Curl_scheme_tftp = {
     | ^
lib/ws.c:1982:26: error: no previous extern declaration for non-static variable 'Curl_scheme_ws' [-Werror,-Wmissing-variable-declarations]
1982 | const struct Curl_scheme Curl_scheme_ws = {
     | ^
lib/ws.c:1982:7: note: declare 'static' if the variable is not intended to be used outside of this translation unit
1982 | const struct Curl_scheme Curl_scheme_ws = {
     | ^
lib/ws.c:1997:26: error: no previous extern declaration for non-static variable 'Curl_scheme_wss' [-Werror,-Wmissing-variable-declarations]
1997 | const struct Curl_scheme Curl_scheme_wss = {
     | ^
lib/ws.c:1997:7: note: declare 'static' if the variable is not intended to be used outside of this translation unit
1997 | const struct Curl_scheme Curl_scheme_wss = {
     | ^

I'm building with `HTTP_ONLY`. Looks like these files only include their own header if the respective protocol is enabled.

Marcel
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-02-12