49fec646cb
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings raised by GCC 8 and 9. Fix -Wunused-function, -Wunused-private-field and -Wtautological-constant-out-of-range-compare raised by Clang. Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison operation). GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising errors and will thus not abort compilation with `werror=yes`. Treat glslang headers are system headers to avoid raising warnings. Re-enables us to build with `werror=yes` on Linux and macOS, thus catching warnings that would be introduced by new code. Fixes #36132. |
||
---|---|---|
.. | ||
canvas_layer.cpp | ||
canvas_layer.h | ||
http_request.cpp | ||
http_request.h | ||
instance_placeholder.cpp | ||
instance_placeholder.h | ||
node.cpp | ||
node.h | ||
resource_preloader.cpp | ||
resource_preloader.h | ||
scene_tree.cpp | ||
scene_tree.h | ||
SCsub | ||
timer.cpp | ||
timer.h | ||
viewport.cpp | ||
viewport.h |