Hi,

> From: curl-library <[email protected]> On Behalf Of Daniel 
> Stenberg via curl-library
> Sent: Thursday, 12 February 2026 09:31
> To: curl users <[email protected]>; [email protected]; 
> libcurl hacking <[email protected]>
> Cc: Daniel Stenberg <[email protected]>
> 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

Reply via email to