r6943 fails to build on Ubuntu 13.10

Bug #1308473 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Shevonar

Bug Description

Attempting to build r6943 on Ubuntu 13.10 fails with the following output:
[ 5%] Building CXX object src/CMakeFiles/widelands_all.dir/wui/gamechatpanel.cc.o
/home/user/widelands/src/wui/gamechatpanel.cc: In constructor ‘GameChatPanel::GameChatPanel(UI::Panel*, int32_t, int32_t, uint32_t, uint32_t, ChatProvider&)’:
/home/user/widelands/src/wui/gamechatpanel.cc:36:23: error: ‘UINT32_MAX’ was not declared in this scope
  chat_message_counter(UINT32_MAX)
                       ^
make[2]: *** [src/CMakeFiles/widelands_all.dir/wui/gamechatpanel.cc.o] Error 1
make[1]: *** [src/CMakeFiles/widelands_all.dir/all] Error 2

Looks like UNIT32_MAX needs to be imported from somewhere other than #include <cstdint>... This was introduced when merging the branch related to bug 1304638.

Tried on Ubuntu 13.10 with GCC version 4.8.1-10ubuntu9 failed. It seems like GCC 4.8.2 on Arch managed alright though...

Tags: ftbfs
Revision history for this message
Shevonar (shevonar) wrote :

Already fixed in r6944.

Changed in widelands:
status: New → Fix Committed
assignee: nobody → Shevonar (shevonar)
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Great! Thanks :)

GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.