Comment 0 for bug 1209125

Revision history for this message
Teppo Mäenpää (kxq) wrote : FTBFS on Debian Squeeze

Current trunk (6705) fails to build from source on Debian Squeeze. 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.