Comment 6 for bug 1033615

Revision history for this message
Hans Joachim Desserud (hjd) wrote : Re: Consider checking for more warnings when compiling Widelands with WL_EXTRAWARNINGS

I am not sure what you are looking for in a recommended version, could you elaborate a bit? Ideally it should compile cleanly in all versions, as distros and users may have a myriad of different versions. If you look at bug 825957 you can see new posts after major new releases though. This is mainly based on the belief a newer version will a) find more/different warnings, b) search more thoroughly for existing warnings and c) hopefully report less false positives if any. So in order to find issues in the code I think it makes sense to use latest version of the compiler, though at the same time we don't want to cut us off so that users on older platforms will not be able to compile it because they have an older compiler.

Btw, from what I can see, we have a couple of instances of #pragma already.