The International Simutrans Forum

 

Author Topic: SVN 4811 fails with gcc v 4.6.1 running "make makeobj_prog" [SOLVED]  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.

Offline jspaces

  • *
  • Posts: 15
SVN 4811 fails to compile with gcc v4.6.1 with the following error message when running "make makeobj_prog":
General system information:
Arch Linux x86_64
gcc v 4.6.1
glibc v 2.14
 
Code: [Select]
$ make makeobj_prog
make[1]: Entering directory `/home/space/factory/simutrans-svn/src/simutrans-build/trunk/makeobj'
===> CXX ../besch/writer/building_writer.cc
../besch/writer/building_writer.cc: In member function ‘virtual void building_writer_t::write_obj(FILE*, obj_node_t&, tabfileobj_t&)’:
../besch/writer/building_writer.cc:181:7: error: ‘utyp’ was not declared in this scope
make[1]: *** [../build/default/besch/writer/building_writer-makeobj.o] Error 1
make[1]: Leaving directory `/home/space/factory/simutrans-svn/src/simutrans-build/trunk/makeobj'
make: *** [makeobj_prog] Error 2
(I have snipped the output to just contain the error.)
If more information is required, please let me know thanks.

Note: SVN 4813 now compiles building_writer.cc
« Last Edit: September 16, 2011, 04:02:24 AM by jspaces »

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5695
  • Languages: EN, NO
Re: SVN 4811 fails to compiles with gcc v 4.6.1 running "make makeobj_prog"
« Reply #1 on: September 15, 2011, 04:21:22 AM »
I get the same error with gcc 4.5.2 on Windows.