Closed jbeich closed 7 years ago
I know, I won't even touch those, because i'm scared of breaking something -- wouldn't be the first time D: The code works, so i usually just look away when compiling with clang on linux + osx. If you feel the need for fixing the warnings then go ahead, but i'd consider this a pretty fruitless effort looking at the overall code quality...
A similar funny example: First this: https://hg.icculus.org/icculus/lugaru/rev/4ab0f3cbd5e9 And soon after, this: https://hg.icculus.org/icculus/lugaru/rev/ac3f429a2830
If it's okay for you to leave it at that, please close, otherwise feel free to argue and throw tomatoes or pointy things at me. (Or make a pull request that fixes the warnings)
EDIT: For a laugh, enable -Wall -pedantic. So much nope.
Almost all warnings in the aquaria code itself are gone in the experimental branch. When enabling internal libs (except for SDL and OpenAL, as there's no prebuilt version of those), I still get some 150 warnings, most of which are in freetype2. For those I'd suggest putting newer versions of the libs into the repo. The game works with my system libraries, so that shouldn't be a problem. If the newer versions still have warnings, we can then get those fixed upstream.
As of OSE-v1.002 on
with default *FLAGS that don't have any
-Wfoo
e.g.,