gcc7: trunk fails to compile a release build
Bug #1695879 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned | ||
widelands (Debian) |
Fix Released
|
Unknown
|
|||
widelands (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the compile.sh script trunk fails to create a release build using gcc7 with the error shown in the attachment.
Related branches
lp://staging/~widelands-dev/widelands/gcc7
- kaputtnik (community): Approve (testing)
- GunChleoc: Needs Resubmitting
-
Diff: 825 lines (+147/-77)32 files modified.travis.yml (+4/-4)
CMakeLists.txt (+3/-2)
src/CMakeLists.txt (+1/-0)
src/base/macros.h (+12/-0)
src/graphic/gl/fill_rect_program.cc (+3/-3)
src/logic/CMakeLists.txt (+14/-4)
src/logic/game_controller.h (+1/-1)
src/logic/game_settings.cc (+1/-0)
src/logic/game_settings.h (+7/-4)
src/logic/map_objects/immovable.cc (+1/-1)
src/logic/map_objects/tribes/battle.cc (+0/-1)
src/logic/map_objects/tribes/production_program.cc (+1/-2)
src/logic/map_objects/tribes/ship.cc (+2/-3)
src/logic/mapfringeregion.cc (+10/-4)
src/logic/player_end_result.h (+32/-0)
src/logic/playersmanager.h (+1/-7)
src/logic/single_player_game_controller.h (+1/-0)
src/network/gameclient.cc (+1/-2)
src/network/gameclient.h (+1/-0)
src/network/gamehost.cc (+4/-4)
src/network/gamehost.h (+1/-0)
src/scripting/CMakeLists.txt (+1/-0)
src/scripting/lua_game.cc (+1/-0)
src/ui_basic/dropdown.cc (+1/-0)
src/ui_basic/editbox.cc (+11/-10)
src/ui_basic/listselect.cc (+6/-4)
src/ui_basic/multilineeditbox.cc (+9/-8)
src/ui_fsmenu/loadgame.cc (+3/-2)
src/wui/buildingwindow.cc (+1/-1)
src/wui/game_summary.cc (+6/-5)
src/wui/interactive_base.cc (+6/-4)
src/wui/interactive_player.cc (+1/-1)
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands (Debian): | |
status: | Unknown → New |
Changed in widelands (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
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