FTBFS trunk/6705 on Debian Wheezy

Bug #1209125 reported by Teppo Mäenpää on 2013-08-07
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
High
Unassigned

Bug Description

Current trunk (6705) fails to build from source on Debian Wheezy. Error:

/tmp/wldev/trunk/src/game_io/game_preload_data_packet.cc: In member function ‘virtual void Widelands::Game_Preload_Data_Packet::Write(FileSystem&, Widelands::Game&, Widelands::Map_Map_Object_Saver*)’:
/tmp/wldev/trunk/src/game_io/game_preload_data_packet.cc:156:17: error: ‘<::’ cannot begin a template-argument list [-fpermissive]
/tmp/wldev/trunk/src/game_io/game_preload_data_packet.cc:156:17: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
/tmp/wldev/trunk/src/game_io/game_preload_data_packet.cc:156:17: note: (if you use ‘-fpermissive’ G++ will accept your code)

Error goes away with the modification suggested by compiler; see attachment.

Teppo Mäenpää (kxq) wrote :
Teppo Mäenpää (kxq) wrote :

.. and even the title of this bug report is wrong. The error appears on Debian Wheezy, not Squeeze.

Took the liberty to modify the title/description...

summary: - FTBFS on Debian Squeeze
+ FTBFS on Debian Wheezy
description: updated
Nasenbaer (nasenbaer) on 2013-08-07
Changed in widelands:
status: New → Fix Committed
Teppo Mäenpää (kxq) wrote :

Seems to affect also Ubuntu raring, quantal and precise..

summary: - FTBFS on Debian Wheezy
+ FTBFS trunk/6705 on Debian Wheezy
Hans Joachim Desserud (hjd) wrote :

Thanks for your patch.
Latest trunk is buildable on 13.04 (raring) at least, and I assume we'll get results for the others next time the PPA builds.

tags: added: ftbfs patch
Teppo Mäenpää (kxq) wrote :

Thank you for going through the troubles of merging!

SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers