Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • LilyPond LilyPond
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,011
    • Issues 1,011
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LilyPond
  • LilyPondLilyPond
  • Merge requests
  • !990

Forbid C-style casts

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dan Eble requested to merge dev/eble/old-style-casts into master Nov 06, 2021
  • Overview 12
  • Commits 4
  • Pipelines 5
  • Changes 49

Add -Wold-style-cast. Combined with -Werror in CI, this forbids the use of C casts in lilypond code. C++ casts communicate a more specific intent and allow the compiler to catch some mistakes.

Edited Nov 06, 2021 by Dan Eble
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: dev/eble/old-style-casts