Re: minisphere 1.0.1
Reply #192 –
@Flying Jester:
Well, I experimented with raising the warning level in MSVC from level 3 to level 4, and got a ton of spurious warnings, so I'm thinking I will probably lower it again. What irks me most is all the C4706 warnings (assignment within conditional expression) from perfectly idiomatic lines like this:
if (!(image = create_subimage(parent, x, y, width, height))) goto on_error;
That code is perfectly clear in its intent, the warning is not needed. And sure, I could go around disabling warnings individually, but that starts to defeat the purpose of the higher warning level, so I might as well just leave it at level 3 where it compiles cleanly. I think the low number of major bugs putting together an engine this fast speaks to the fact of me knowing what I'm doing here without the compiler complaining at me. 
Also: Don't ever try to compile a Win32 app in MSVC with -Wall - You will get a crapton of warnings (as in, tens of thousands!
) just from the Windows headers alone.