The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: isidoro on July 18, 2013, 12:01:36 AM

Title: R6596: problem with gui/banner.cc
Post by: isidoro on July 18, 2013, 12:01:36 AM
When trying to compile from Linux, I get:

===> CXX gui/banner.cc
gui/banner.cc: In member function 'virtual void banner_t::zeichnen(koord, koord)':
gui/banner.cc:152:51: error: 'yp' was not declared in this scope
make: *** [build/default/gui/banner.o] Error 1


If I delete the yp parameter in line 152, it seems to work... but I don't know if that is a solution.

Title: Re: R6596: problem with gui/banner.cc
Post by: kierongreen on July 18, 2013, 12:08:37 AM
I don't get this error here on Linux with 6596 - do you have any differences from trunk?
Title: Re: R6596: problem with gui/banner.cc
Post by: isidoro on July 19, 2013, 12:44:15 AM
I don't think so: svn diff shows nothing after svn up.  Although note that line 152 is not compiled unless macro REVISION is not defined...  Can that be the difference between your configuration and mine?
Title: Re: R6596: problem with gui/banner.cc
Post by: kierongreen on July 19, 2013, 07:37:12 AM
Could be? Am not at home so can't check until Monday.
Title: Re: R6596: problem with gui/banner.cc
Post by: isidoro on July 19, 2013, 11:24:33 PM
No problem.  Thanks.

Title: Re: R6596: problem with gui/banner.cc
Post by: Dwachs on July 20, 2013, 08:21:56 AM
fixed @6598
Title: Re: R6596: problem with gui/banner.cc
Post by: isidoro on July 20, 2013, 10:29:11 PM
Thanks, Dwachs.