This happens when I want to compile server binary on
Client binary compiles without error.
I see that there are some really fresh commits. Should I wait for more changes before updating the server?
> make
===> CXX besch/reader/image_reader.cc
besch/reader/image_reader.cc: In member function 'virtual obj_besch_t* image_reader_t::read_node(FILE*, obj_node_info_t&)':
besch/reader/image_reader.cc:113:14: error: 'class image_t' has no member named 'pic'
if( besch->pic.h > 0 ) {
^~~
besch/reader/image_reader.cc:114:10: error: 'class image_t' has no member named 'pic'
besch->pic.h = 1;
^~~
besch/reader/image_reader.cc:116:14: error: 'class image_t' has no member named 'pic'
if( besch->pic.w > 0 ) {
^~~
besch/reader/image_reader.cc:117:10: error: 'class image_t' has no member named 'pic'
besch->pic.w = 1;
^~~
besch/reader/image_reader.cc:119:14: error: 'class image_t' has no member named 'pic'
if( besch->pic.len > 0 ) {
^~~
besch/reader/image_reader.cc:120:10: error: 'class image_t' has no member named 'pic'
besch->pic.len = 4;
^~~
besch/reader/image_reader.cc:122:9: error: 'class image_t' has no member named 'pic'
besch->pic.x = 0;
^~~
besch/reader/image_reader.cc:123:9: error: 'class image_t' has no member named 'pic'
besch->pic.y = 0;
^~~
besch/reader/image_reader.cc:28:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(besch_buf, node.size, 1, fp);
^
common.mk:50: recipe for target 'build/default/besch/reader/image_reader.o' failed
make: *** [build/default/besch/reader/image_reader.o] Error 1
v
I think that I have fixed this now: thiank you for the report. The things that I am changing are mainly translation patches from Standard that should make little or no difference to the actual code.
fixed - compiled successfully