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
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: /widelands- repo/trunk/ src/logic/ game_settings. h: In member function 'void GameClient: :receive_ one_user( uint32_ t, StreamRead&)': /widelands- repo/trunk/ src/logic/ game_settings. h:52:8: error: 'newuser. UserSettings: :position' may be used uninitialized in this function [-Werror= maybe-uninitial ized]
^~~~~~ ~~~~~~ CMakeFiles/ network. dir/build. make:111: src/network/ CMakeFiles/ network. dir/gameclient. cc.o] Error 1 Makefile2: 27411: src/network/ CMakeFiles/ network. dir/all] Error 2
/home/kaputtnik
/home/kaputtnik
struct UserSettings {
cc1plus: some warnings being treated as errors
make[2]: *** [src/network/
make[1]: *** [CMakeFiles/
make: *** [Makefile:141: all] Error 2