In the hope that jules will find the time to fix these soon, I’m sharing with the community the fix for quite a lot of annoying and trivial warnings in the JUCE codebase I use.
These are fixes for warnings I get when building JUCE in Xcode with the LLVM compiler.
I keep a fairly “high-but-not-paranoid” number of warning flags enabled, just to be sure that my code is not prone to some hard-to-track bugs that should have been evident if only the proper warning was raised.
I wonder why jules himself does not enable those flags (I mean something frankly useful, like cast warnings or hidden symbol warnings), but that’s subjet for another whole discussion topic.
For those interested, here are the fixes:
As you may have noticed, I have decided to create my own fork of JUCE on github, tightly updated with the changes made on the JUCE official tip, and with some commits to fix such things as these warnings. I plan to add more in the future, that will be posted in this topic as well for those that are interested.
Ideally, I’d like this to be more streamlined for those that want to incorporate these changes into their JUCE repositories, but I’m relatively new to GitHub and I have to properly understand the workflow involved with exchanging changes between forks. Feel free to advice on this subject!