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/MinGW compiler warnings #5291

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Conversation

Jojo-Schmitz
Copy link
Contributor

No description provided.

mscore/palette/palettetree.cpp Outdated Show resolved Hide resolved
mscore/menus.cpp Outdated Show resolved Hide resolved
mscore/musescore.h Outdated Show resolved Hide resolved
libmscore/harmony.cpp Outdated Show resolved Hide resolved
libmscore/harmony.cpp Outdated Show resolved Hide resolved
mscore/musescore.h Outdated Show resolved Hide resolved
mscore/palette/palettetree.cpp Show resolved Hide resolved
@@ -270,34 +270,34 @@ bool PalettePanel::read(XmlReader& e)
_name = e.attribute("name");
_type = Type::Unknown;
while (e.readNextStartElement()) {
const QStringRef t(e.name());
if (t == "gridWidth")
const QStringRef s(e.name());
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably same as above, if we need to rename this variable

Copy link
Contributor Author

@Jojo-Schmitz Jojo-Schmitz Sep 29, 2019

Choose a reason for hiding this comment

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

But naming it tag gives another warning, C4458 in MSVC

@Jojo-Schmitz
Copy link
Contributor Author

Jojo-Schmitz commented Oct 1, 2019

Adding fixes for a couple more (read: new) warnings, adding a missingg accessibility string.

and also fix a compiler warning fixed earlier in a different
(and better) way, see musescore#4963
@dmitrio95 dmitrio95 merged commit a9ab486 into musescore:master Oct 2, 2019
@Jojo-Schmitz Jojo-Schmitz deleted the warnings branch October 2, 2019 08:50
@Jojo-Schmitz
Copy link
Contributor Author

and a few new warnings just cropped up :-(

anatoly-os pushed a commit that referenced this pull request Oct 2, 2019
fix MSVC/MinGW compiler warnings
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.

3 participants