FTBFS trunk/6705 on Debian Wheezy

Bug #1209125 reported by Teppo Mäenpää
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
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.

Tags: ftbfs patch
Revision history for this message
Teppo Mäenpää (kxq) wrote :
Revision history for this message
Teppo Mäenpää (kxq) wrote :

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

Revision history for this message
Jens Beyer (qcumber-some) wrote : Re: FTBFS on Debian Wheezy

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

summary: - FTBFS on Debian Squeeze
+ FTBFS on Debian Wheezy
description: updated
Nasenbaer (nasenbaer)
Changed in widelands:
status: New → Fix Committed
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Teppo Mäenpää (kxq) wrote :

Thank you for going through the troubles of merging!

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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