The International Simutrans Forum

 

Author Topic: [r8562] cannot compile makeobj  (Read 318 times)

0 Members and 1 Guest are viewing this topic.

Offline THLeaderH jp

  • Coder/patcher
  • Devotee
  • *
  • Posts: 335
  • Languages: JP,EN
[r8562] cannot compile makeobj
« on: September 01, 2018, 05:24:15 AM »
I tried to make makeobj with r8562 and I got following error.

Code: [Select]
../descriptor/writer/way_obj_writer.cc:22:11: error: excess elements in array
      initializer
                "nse1", "new1", "nsw1", "sew1", "nsew1",        // diffe...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Re: [r8562] cannot compile makeobj
« Reply #1 on: September 01, 2018, 07:24:13 AM »
It seems prissi committed something that didn't belong there in r8556.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9569
  • Languages: De,EN,JP
Re: [r8562] cannot compile makeobj
« Reply #2 on: September 03, 2018, 03:49:10 AM »
Yes, it seems this was something remainded from directional (and at least more correct crossings) for wayobjects. One could simply set this to 26 (it would not do any harm) or I should finish this part of code ...