Tried to update https://build.opensuse.org/package/show/home:Mailaender:branches:games/s25rttr However the build fails:
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/liblobby/src/LobbyClient.cpp: In member function 'void LobbyClient::AddServer(std::string, std::string, bool, short unsigned int)':
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/liblobby/src/LobbyClient.cpp:294:37: error: 'GetWindowVersion' was not declared in this scope
server.setVersion(GetWindowVersion());
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/liblobby/src/LobbyClient.cpp: In member function 'virtual void LobbyClient::OnNMSLobbyID(unsigned int, const unsigned int&)':
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/liblobby/src/LobbyClient.cpp:408:90: error: 'GetWindowVersion' was not declared in this scope
send_queue.push(new LobbyMessage_Login(userdata.user, userdata.pass, GetWindowVersion()));
^
make[2]: *** [liblobby/src/CMakeFiles/lobby_c.dir/LobbyClient.cpp.o] Error 1
make[1]: *** [liblobby/src/CMakeFiles/lobby_c.dir/all] Error 2
Also some more compiler warnings:
[ 6%] Building CXX object driver/audio/SDL/src/CMakeFiles/audioSDL.dir/SDL.cpp.o
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp: In member function 'virtual Sound* AudioSDL::LoadEffect(unsigned int, unsigned char*, long unsigned int)':
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:178:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:184:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:187:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:194:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp: In member function 'virtual Sound* AudioSDL::LoadMusic(unsigned int, unsigned char*, long unsigned int)':
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:236:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:241:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:269:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
/home/abuild/rpmbuild/BUILD/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:272:10: warning: converting 'false' to pointer type 'Sound*' [-Wconversion-null]
return false;
^
fixed in rev9016