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.
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*) ’: trunk/src/ game_io/ game_preload_ data_packet. cc:156: 17: error: ‘<::’ cannot begin a template-argument list [-fpermissive] trunk/src/ game_io/ game_preload_ data_packet. cc:156: 17: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’ trunk/src/ game_io/ game_preload_ data_packet. cc:156: 17: note: (if you use ‘-fpermissive’ G++ will accept your code)
/tmp/wldev/
/tmp/wldev/
/tmp/wldev/
Error goes away with the modification suggested by compiler; see attachment.