The International Simutrans Forum

 

Author Topic: [BUG] Couldn't compile current devel-new  (Read 737 times)

0 Members and 1 Guest are viewing this topic.

Offline O01eg

  • *
  • Posts: 79
  • Languages: EN, RU
[BUG] Couldn't compile current devel-new
« on: August 26, 2015, 09:11:04 AM »
During compilation I get next error:

Code: [Select]
===> CXX simsignalbox.cc
simsignalbox.cc: In constructor ‘signalbox_t::signalbox_t(koord3d, player_t*, const haus_tile_besch_t*)’:
simsignalbox.cc:36:23: error: ‘obj_t::typ’ is not a class or namespace
     gebaeude_t(obj_t::typ::signalbox, pos, player, t)
                       ^
simsignalbox.cc: At global scope:
simsignalbox.cc:110:6: warning: unused parameter ‘lock’ [-Wunused-parameter]
 void signalbox_t::add_to_world_list(bool lock)
      ^
simsignalbox.cc: In member function ‘virtual void signalbox_t::rdwr(loadsave_t*)’:
simsignalbox.cc:137:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(sint32 i = 0; i < signals_count; i++)
                         ^
common.mk:50: recipe for target 'build/default/simsignalbox.o' failed
make: *** [build/default/simsignalbox.o] Error 1

Rev: bf8b1c06bc3008ed47a73d315ec1f61d3684b624
GCC: 4.8.4
OS: Gentoo Linux AMD64

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18745
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG] Couldn't compile current devel-new
« Reply #1 on: August 26, 2015, 04:16:59 PM »
Thank you - now fixed.