Activity log for bug #1159432

Date Who What changed Old value New value Message
2013-03-24 15:08:36 Hans Joachim Desserud bug added bug
2013-03-24 15:08:36 Hans Joachim Desserud attachment added widelands.gcc-4.8 https://bugs.launchpad.net/bugs/1159432/+attachment/3594041/+files/widelands.gcc-4.8
2013-06-17 19:41:21 Hans Joachim Desserud attachment added gcc 4.8.1 vs widelands r6583 https://bugs.launchpad.net/widelands/+bug/1159432/+attachment/3705919/+files/widelands-gcc-4.8.1
2013-07-17 09:42:12 Hans Joachim Desserud widelands: status New Triaged
2013-07-17 09:42:41 Hans Joachim Desserud description As some of you might know, GCC 4.8 was released recently (http://gcc.gnu.org/gcc-4.8/changes.html). Therefore, the only logical thing to do was to compile WL with it and see what happened. This was done on a Debian Sid system (though gcc-4.8 is still in experimental so you need to add that repository). The main change warning-wise seems to be that it warns about -Wunused-local-typedefs now. This seems to boil down to the macro in src/compile_assert.h which based on the comment in it is done that way to avoid shadow warnings. So I guess we should decide whether this code can be improved or whether we want to ignore the warning. (We have the macros to temporarily disable warnings, but I am not sure whether it would be sufficient to apply it in src/compile_assert.h or if we would need to sprinkle it across all places referring to it.) I only skimmed the rest of the warnings, but they seem to mostly be the same as we get in older releases too. PS. I filed this as a new bug since I consider bug 825957 as fixed when we became warning-free. After bug 1033615 we are no longer warning-free again, though I think it is better to split out the discussion for these warnings. Otherwise we will end up with a gigantic bug report covering everything which has been closed and reopened multiple times as warnings are removed and introduced. As some of you might know, GCC 4.8 was released recently (http://gcc.gnu.org/gcc-4.8/changes.html). Therefore, the only logical thing to do was to compile WL with it and see what happened. This was done on a Debian Sid system (though gcc-4.8 is still in experimental so you need to add that repository). The main change warning-wise seems to be that it warns about -Wunused-local-typedefs now. This seems to boil down to the macro in src/compile_assert.h which based on the comment in it is done that way to avoid shadow warnings. So I guess we should decide whether this code can be improved or whether we want to ignore the warning. (We have the macros to temporarily disable warnings, but I am not sure whether it would be sufficient to apply it in src/compile_assert.h or if we would need to sprinkle it across all places referring to it.) I only skimmed the rest of the warnings, but they seem to mostly be the same as we get in older releases too. PS. I filed this as a new bug since I consider bug 825957 as fixed when we became warning-free. After bug 1033615 we are no longer warning-free again, though I think it is better to split out the discussion for these warnings. Otherwise we will end up with a gigantic bug report covering everything which has been closed and reopened multiple times as warnings are removed and introduced. PPS. See bug 1202101 for warnings generated in Visual Studio.
2013-07-18 06:31:47 Launchpad Janitor branch linked lp:~widelands-dev/widelands/cxx11
2013-07-21 07:47:01 SirVer widelands: status Triaged Fix Committed
2013-07-21 07:47:03 SirVer widelands: milestone build18-rc1
2013-07-21 10:59:44 Hans Joachim Desserud attachment added r6651_warnings https://bugs.launchpad.net/widelands/+bug/1159432/+attachment/3744352/+files/r6651_warnings
2013-07-21 10:59:55 Hans Joachim Desserud widelands: status Fix Committed Triaged
2013-07-21 14:44:27 Hans Joachim Desserud widelands: status Triaged Fix Committed
2014-02-07 06:04:26 SirVer widelands: status Fix Committed Fix Released