News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Build failed in Jenkins: makeobj #74

Started by ArthurDenture, November 05, 2013, 04:38:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ArthurDenture

See http://ec2-54-242-171-11.compute-1.amazonaws.com/jenkins/job/makeobj/74/

Looks like makeobj doesn't compile at HEAD, possibly due to the #include changes to besch/writer/image_writer.cc in revision 6889.


+ make
===> CXX ../besch/writer/bridge_writer.cc
===> CXX ../besch/writer/building_writer.cc
===> CXX ../besch/writer/citycar_writer.cc
===> CXX ../besch/writer/crossing_writer.cc
===> CXX ../besch/writer/factory_writer.cc
../besch/writer/factory_writer.cc: In member function 'virtual std::string factory_writer_t::get_node_name(FILE*) const':
../besch/writer/factory_writer.cc:261:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
===> CXX ../besch/writer/get_climate.cc
===> CXX ../besch/writer/get_waytype.cc
===> CXX ../besch/writer/good_writer.cc
===> CXX ../besch/writer/groundobj_writer.cc
===> CXX ../besch/writer/ground_writer.cc
===> CXX ../besch/writer/image_writer.cc
../besch/writer/image_writer.cc: In member function 'void image_writer_t::write_obj(FILE*, obj_node_t&, std::string, uint32)':
../besch/writer/image_writer.cc:208:2: error: 'memset' was not declared in this scope

prissi

Aparently on windows string includes cstring. Thank for the test.

ArthurDenture

Oops, the fix revealed another one: http://ec2-54-242-171-11.compute-1.amazonaws.com/jenkins/job/makeobj/75/changes


+ make
===> CXX ../besch/writer/bridge_writer.cc
[snip]
===> CXX ../besch/writer/way_writer.cc
===> CXX ../besch/writer/way_obj_writer.cc
===> CXX ../besch/writer/xref_writer.cc
../besch/writer/xref_writer.cc: In member function 'virtual void xref_writer_t::dump_node(FILE*, const obj_node_info_t&)':
../besch/writer/xref_writer.cc:38:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
===> CXX ../utils/dr_rdpng.cc
../utils/dr_rdpng.cc: In function 'bool load_block(unsigned char**, unsigned int*, unsigned int*, const char*, int)':
../utils/dr_rdpng.cc:135:64: error: 'errno' was not declared in this scope


I think (well, the manpage thinks) that <errno.h> is the standard header file for that.


Dwachs

Parsley, sage, rosemary, and maggikraut.