The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: jspaces on September 15, 2011, 01:22:08 AM

Title: SVN 4811 fails with gcc v 4.6.1 running "make makeobj_prog" [SOLVED]
Post by: jspaces on September 15, 2011, 01:22:08 AM
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
$ 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
Title: Re: SVN 4811 fails to compiles with gcc v 4.6.1 running "make makeobj_prog"
Post by: Ters on September 15, 2011, 04:21:22 AM
I get the same error with gcc 4.5.2 on Windows.