The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: tuxianer1988 on May 21, 2012, 04:06:15 PM

Title: Compile error latest svn checkout
Post by: tuxianer1988 on May 21, 2012, 04:06:15 PM
Hi guys,

I also tried now to compile the latest SVN revision (5734).

Once again I am compiling a simutrans server version. May be I can support the develop process of this great game at least a little bit :)


===> CXX simgraph0.cc
simgraph0.cc:315:6: Warnung: unbenutzter Parameter »new_textur« [-Wunused-parameter]
simgraph0.cc:331:55: Fehler: »color« bezeichnet keinen Typ
simgraph0.cc:331:55: Fehler: ISO-C++ verbietet Deklaration von »parameter« ohne Typ [-fpermissive]
simgraph0.cc:332:1: Fehler: expected unqualified-id before »{« token
simgraph0.cc:335:62: Fehler: »color« bezeichnet keinen Typ
simgraph0.cc:335:62: Fehler: ISO-C++ verbietet Deklaration von »parameter« ohne Typ [-fpermissive]
simgraph0.cc:336:1: Fehler: expected unqualified-id before »{« token
simgraph0.cc:340:1: Fehler: expected unqualified-id before »{« token
make: *** [build/default/simgraph0.o] Fehler 1
Title: Re: Compile error latest svn checkout
Post by: kierongreen on May 21, 2012, 04:27:03 PM
This should fix the errors. Either apply the patch or just overwrite the simgraph.cc file with this version.
Title: Re: Compile error latest svn checkout
Post by: Dwachs on May 21, 2012, 04:32:51 PM
thanks, fix is in trunk, check out r5735.
Title: Re: Compile error latest svn checkout
Post by: tuxianer1988 on May 21, 2012, 05:21:00 PM
Looks good :) thanks for fixing.