The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: wernieman on September 23, 2009, 09:04:57 am

Title: [solved] Compiling Error for r2661
Post by: wernieman on September 23, 2009, 09:04:57 am
The last nightly (r2661) get a big compoling error with all compiler

At exampel the last (important) output from the gcc3 (but it is the same with gcc4, gcc for 64Bit, both mac)
Code: [Select]
===> CXX old_blockmanager.cc
===> CXX simcity.cc
simcity.cc: In member function 'void stadt_t::step_p****agiere()':
simcity.cc:1475: warning: unused variable 'max_ware'
===> CXX simconvoi.cc
simconvoi.cc: In member function 'void convoi_t::laden_abschliessen()':
simconvoi.cc:358: error: no matching function for call to 'schiene_t::reserve(convoihandle_t&, ribi_t::_ribi)'
boden/wege/schiene.h:77: note: candidates are: bool schiene_t::reserve(convoihandle_t)
simconvoi.cc: In member function 'void convoi_t::vorfahren()':
simconvoi.cc:1500: error: no matching function for call to 'schiene_t::reserve(convoihandle_t&, ribi_t::_ribi)'
boden/wege/schiene.h:77: note: candidates are: bool schiene_t::reserve(convoihandle_t)
simconvoi.cc: In member function 'void convoi_t::rdwr(loadsave_t*)':
simconvoi.cc:1690: error: no matching function for call to 'schiene_t::reserve(convoihandle_t&, ribi_t::_ribi)'
boden/wege/schiene.h:77: note: candidates are: bool schiene_t::reserve(convoihandle_t)
make: *** [simconvoi.o] Error 1
Title: Re: Compiling Error for r2661
Post by: prissi on September 23, 2009, 02:06:25 pm
Sorry, there is already some patch for track reservation indicated by switches submitted, as it seems. Will fix this tonight.
Title: Re: [solved] Compiling Error for r2661
Post by: wernieman on September 24, 2009, 01:03:51 pm
Solved in Version 2568