-
-
Notifications
You must be signed in to change notification settings - Fork 803
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 Compile Warnings #5963
Fix Compile Warnings #5963
Conversation
At least as much as possible without significantly altering parts of the application
json::parse was being called on the object, rather than statically like it should be. Also, the value was not being captured.
By having the definition in the header, it causes issues when other files define ICON_SIZE. By renaming it to MM_ICON_SIZE, this lessens the issue. It would probably be ideal to have the definitions in the respective .cpp that use them, but it would make it less convenient to update the values if needed in the future.
With warnings you can at least to see build progress))) |
Still TODO: check double for loop in Print.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for your effort!
This reverts commit b83e16d.
This reverts commit b83e16d. Found regressions like auto orientation didn't work anymore after this change, revert it
I wanted to give a heads-up that I reverted this PR due to some issues I found. Issues I found in case you're curious:
|
No problem! I wasn't entirely done with development on this anyway, so I'll continue to work on it when I can 😁 |
Probably let's split the task - for instance I guess it's harmless to resolve |
Description
This PR clears up almost all of the compile warnings generated when building the slicer on Windows. There are still a few signed/unsigned issues, but fixing those would require larger codebase changes. I tried to keep these changes pretty simple.
Tests
Tested on Windows 11