Comment 2 for bug 1695879

Revision history for this message
kaputtnik (franku) wrote :

Sorry, the error is missing in the previous attached file... here it is:

In file included from /home/kaputtnik/widelands-repo/trunk/src/network/gameclient.h:25:0,
                 from /home/kaputtnik/widelands-repo/trunk/src/network/gameclient.cc:20:
/home/kaputtnik/widelands-repo/trunk/src/logic/game_settings.h: In member function 'void GameClient::receive_one_user(uint32_t, StreamRead&)':
/home/kaputtnik/widelands-repo/trunk/src/logic/game_settings.h:52:8: error: 'newuser.UserSettings::position' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 struct UserSettings {
        ^~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make[2]: *** [src/network/CMakeFiles/network.dir/build.make:111: src/network/CMakeFiles/network.dir/gameclient.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:27411: src/network/CMakeFiles/network.dir/all] Error 2
make: *** [Makefile:141: all] Error 2