News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

[SOLVED][RC 11.9001] dings/gebaeude.cc: error

Started by Vonjo, March 18, 2013, 08:26:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vonjo

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.

jamespetts

Thank you - found and fixed. Can you re-test?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vonjo

It works now.

Oh, I see my name in credits. :D Thanks.

jamespetts

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).
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.