The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: kierongreen on May 29, 2012, 09:14:00 PM

Title: r5750 compile error gcc
Post by: kierongreen on May 29, 2012, 09:14:00 PM
r5750 introduced the following change to simworld.cc which causes a compile error:
Quote@@ -5197,6 +5204,7 @@
// recalcs all ground tiles on the map
void karte_t::update_map()
{
+    DBG_MESSAGE( "karte_t::update_map()", called );
     world_y_loop(&karte_t::update_map_intern);
     set_dirty();
}

gcc gives following error:
simworld.cc:5246:40: error: 'called' was not declared in this scope
Title: Re: r5750 compile error gcc
Post by: prissi on May 29, 2012, 09:54:36 PM
Yeah, some more GCC typo like missing OVERRIDE. I am hunting a bug when rotation the map quickly.