Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,075
    • Issues 3,075
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,006
    • Merge requests 1,006
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !18716

meson: Convert -DFOO=1 to -DFOO

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Yonggang Luo requested to merge lygstate/mesa:meson-trivial-fixes into main Sep 20, 2022
  • Overview 6
  • Commits 9
  • Pipelines 2
  • Changes 8

-DFOO=1 and -DFOO=0 should be paired, otherwise -DFOO=1 are misleading the programmer to using the invalid usage: #if FOO But the valid usage are: #if defined(FOO) So we prefer -DFOO and using '#if defined(FOO)'

Signed-off-by: Yonggang Luo luoyonggang@gmail.com

Edited Sep 21, 2022 by Adam Jackson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: meson-trivial-fixes