blender/extern/curve_fit_nd/intern
Ray Molenkamp 344b741144 CMake: Fix clang warnings on windows.
Clang on windows has always been generous with the amount of warnings
it emitted, no-one really had/took the time to take a closer look here
and we just suppressed [1] the warnings and moved on with our day.

However every-time a new clang version gets released more and more
warnings had to be suppressed, the tests for which flags are available
was reported to take 5+ minutes for some users, with more devs taking
clang for a spin, time to finally take that closer look!

Jonas dove in the docs and figured out that passing `-Wall` for clang-cl
doesn't do what you think it does and actually enables `-Weverything`[2]

which is the root cause for the abundance of warnings by clang on
windows.

This PR:

- Removes `-Wall` for clang on windows and replaces it with /W3 (which
  will imply an _actual_ -Wall)
- Removes the large list of suppressions we had for clang on Windows
  and synchronizes with the existing warning flags for Mac/Linux.

With this done there were about 200 warnings left in mostly windows
specific code (See PR for specifics) which this PR also fixes.

[1] c6ffc4a62b/CMakeLists.txt (L2165)
[2] https://clang.llvm.org/docs/UsersManual.html#id13

Pull Request: https://projects.blender.org/blender/blender/pulls/155539
2026-03-17 19:55:29 +01:00
..
curve_fit_corners_detect.c
curve_fit_cubic.c Fix #154204: Cycles build errors when building without OSL support 2026-02-11 12:25:41 +01:00
curve_fit_cubic_refit.c Fix #154204: Cycles build errors when building without OSL support 2026-02-11 12:25:41 +01:00
curve_fit_inline.h
curve_fit_intern.h
generic_alloc_impl.h CMake: Fix clang warnings on windows. 2026-03-17 19:55:29 +01:00
generic_heap.c
generic_heap.h