blender/intern/guardedalloc
Germano Cavalcante f27d6b9640 MSVC: lower C4100 warning level from 4 to 3
The C4100 warning is related to unused formal parameters in functions.

Enabling it better aligns with "-Wunused-parameter" option in other
compilers.

While suppressing it with `__pragma(warning(suppress:4100))` is not the
same as using `__attribute__((__unused__))` in GCC or Clang, it is
still preferable to use it over completely hiding the warning.

This ensures consistent warning behavior across compilers and improves
code quality by addressing unused function parameters.

(Note that some warnings in Windows-specific code have already been
silenced in 7fcb262dfd2f48a73f9cf794944ff677c36e3783)

Pull Request: https://projects.blender.org/blender/blender/pulls/105534
2023-03-09 16:05:48 +01:00
..
cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
intern MSVC: lower C4100 warning level from 4 to 3 2023-03-09 16:05:48 +01:00
test/simpletest File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
tests Cleanup: replace C-style casts with functional casts for numeric types 2022-09-26 09:53:49 +10:00
CMakeLists.txt CMake: quiet references to undeclared variable warnings 2023-01-19 17:10:42 +11:00
MEM_guardedalloc.h Allocator: Fail building when trying to MEM_delete a void pointer 2023-02-14 12:48:26 +01:00