Skip to content

Meson: Re-structure warnings-related compiler flags for Visual Studio

Chun-wei Fan requested to merge meson-msvc-warnings into master

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

Merge request reports