mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:33:41 +03:00
build: enable -Wimplicit-int-enum-cast compiler warning, fix issues
Offered by clang 21+. Closes #20990
This commit is contained in:
parent
d86fd143a1
commit
59405ffb7d
4 changed files with 5 additions and 2 deletions
|
|
@ -258,6 +258,7 @@ if(PICKY_COMPILER)
|
|||
list(APPEND _picky_enable
|
||||
-Warray-compare # clang 20.1 gcc 12.0 appleclang 26.4
|
||||
-Wc++-hidden-decl # clang 21.1 appleclang 26.4
|
||||
-Wimplicit-int-enum-cast # clang 21.1
|
||||
-Wjump-misses-init # clang 21.1 gcc 4.5 appleclang 26.4
|
||||
-Wno-implicit-void-ptr-cast # clang 21.1 appleclang 26.4
|
||||
-Wtentative-definition-compat # clang 21.1 appleclang 26.4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue