Meson: Re-structure warnings-related compiler flags for Visual Studio
Hi,
This updates the Meson build files in the following ways for Visual Studio builds:
-
Re-organize the existing warning-related compiler flags by:
- Adding a short description for each of them
- Avoid checking the same compiler twice, just use a list for the
language:...
flag. - Apply
/wd4267
only for 64-bit builds, since it only applies there.
-
Add more warnings to be disabled, where we don't really have to worry about them.
Addresses issue #118 (closed).
With blessings, thank you!
Edited by Chun-wei Fan