The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: Vonjo on March 18, 2013, 08:26:29 PM

Title: [SOLVED][RC 11.9001] dings/gebaeude.cc: error
Post by: Vonjo on March 18, 2013, 08:26:29 PM
I got this error while compiling RC 11.9001:

dings/gebaeude.cc: In member function 'virtual void gebaeude_t::info(cbuffer_t&) const':
dings/gebaeude.cc:833:5: error: duplicate 'const'
dings/gebaeude.cc:851:5: error: duplicate 'const'
make: *** [build/default/dings/gebaeude.o] Error 1

Removing const in the middle (of line 833 and 851) should fix this.
Title: Re: [RC 11.9001] dings/gebaeude.cc: error
Post by: jamespetts on March 18, 2013, 08:37:20 PM
Thank you - found and fixed. Can you re-test?
Title: Re: [RC 11.9001] dings/gebaeude.cc: error
Post by: Vonjo on March 18, 2013, 09:07:50 PM
It works now.

Oh, I see my name in credits. :D Thanks.
Title: Re: [RC 11.9001] dings/gebaeude.cc: error
Post by: jamespetts on March 18, 2013, 09:13:50 PM
Every accurate report of a hitherto unknown bug is a highly valuable contribution to the game, and deserves a credit (occasionally I forget to add people - but I try to remember when I can).