Compiling problems with woody and pointers
Hello!
I'm trying to compile a liboe, an outlook-mailbox converter
(http://www.gpl.no/liboe), and get dozens of these same errors:
src/liboe.c:132: invalid operands to binary !=
src/liboe.c:141: invalid operands to binary +
The related code for these two:
int oe_readmessage(oe_data *data,
fpos_t pos,
int newsarticle) {
int segheadsize = sizeof(oe_msg_segmentheader)-4; /*+(newsarticle<<2);*/
oe_msg_segmentheader *sgm = malloc(sizeof(oe_msg_segmentheader));
char buff[16], *ss = malloc(2048), *s = ss;
int nextsegment, endofsegment, i, headerwritten = 0;
fsetpos(data->oe,&pos);
while (1) {
fread(sgm,segheadsize,1,data->oe);
132: if (pos!=sgm->self) { /* No body found*/
[snip]
}
141: pos+=segheadsize;
nextsegment = pos+sgm->increase;
endofsegment = pos+sgm->include;
Can anyone help? Thanks!
Reply to: