Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MSVC and macOS (Clang) compiler warnings #25723

Merged
merged 4 commits into from
Jan 17, 2025

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Dec 4, 2024

  • reg.: declaration of 'xxx' hides previous local declaration (C4456)
  • reg.: conversion from 'size_t' to 'int', possible loss of data (C4267)
  • reg.: overrides a member function but is not marked 'override' [-Winconsistent-missing-override] (generates a lot of noise in the mac builds)
  • reg.: variable set but not used [-Wunused-but-set-variable]

@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 4 times, most recently from bba09f0 to 8b74bb3 Compare December 6, 2024 21:31
@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 3 times, most recently from 7314433 to 06eb39e Compare December 16, 2024 12:01
@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 4 times, most recently from 40446c6 to 14aedd4 Compare December 24, 2024 14:06
@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 3 times, most recently from e9d006a to 6d81810 Compare January 7, 2025 11:48
@Jojo-Schmitz

This comment was marked as resolved.

@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 6 times, most recently from ed3c490 to d0bc6e1 Compare January 15, 2025 11:15
@Jojo-Schmitz Jojo-Schmitz force-pushed the compiler-warnings branch 3 times, most recently from 782f446 to e5dedca Compare January 17, 2025 12:59
@Jojo-Schmitz Jojo-Schmitz changed the title Fix MSVC compiler warnings Fix MSVC and macOS (Clang) compiler warnings Jan 17, 2025
Copy link
Contributor

@mathesoncalum mathesoncalum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @Jojo-Schmitz (and sorry for the delay). I've left some feedback points.

reg.: declaration of 'xxx' hides previous local declaration (C4456)
reg.: conversion from 'size_t' to 'int', possible loss of data (C4267)
reg.: overrides a member function but is not marked 'override' [-Winconsistent-missing-override]

(Also fixed in musescore#26100)
reg.: variable set but not used [-Wunused-but-set-variable]
@mathesoncalum mathesoncalum merged commit 2b1f288 into musescore:master Jan 17, 2025
11 checks passed
@Jojo-Schmitz Jojo-Schmitz deleted the compiler-warnings branch January 17, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants