2013-08-07 10:11:31 |
Jens Beyer |
description |
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 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. |
|