MSVC build: Shall more warnings be disabled?
I have made it possible to avoid configuration warnings from Meson and still enable
many compiler warnings (-Dwarnings=max or -Dwarnings=fatal). It's done by setting
for instance -Dwarnings=fatal -Dwarning_level=3 -Dwerror=true
. This work was
inspired by https://github.com/libxmlplusplus/libxmlplusplus/pull/27.
In gtkmm I had to disable a warning when demo-resources.c is compiled (-Wno-overlength-strings).
@fanc999 Perhaps you want to check if any warnings shall be disabled when a C file is compiled with MSVC and warning_level=3.
A difference between warning_level=3 and warnings=max or warnings=fatal is that warning_level=3 enables the warnings for all languages (C and C++), warnings=max or warnings=fatal does it only for C++.