Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gtkmm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkmm
  • Merge requests
  • !67

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Chun-wei Fan requested to merge meson-msvc-warnings into master May 23, 2022
  • Overview 1
  • Commits 3
  • Pipelines 2
  • Changes 1

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 May 23, 2022 by Chun-wei Fan
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: meson-msvc-warnings