Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  More void* arith errors

Guest
Posted: Fri Oct 29, 2010 8:47 pm Reply with quote
Guest
Same deal as before, SGI IRIX 6.5 + native sys compilers. Spat at a few more
cases where casting to char* is necessary for the build to continue.


cc-3316 c99: ERROR File = drivers/unix/unix_efile.c, Line = 1070
The expression must be a pointer to a complete object type.

w = write(fd, iov[cnt].iov_base + p, iov[cnt].iov_len -
p);
^

cc-3316 c99: ERROR File = drivers/unix/unix_efile.c, Line = 1076
The expression must be a pointer to a complete object type.

iov[cnt].iov_base += p;
^

cc-3316 c99: ERROR File = drivers/unix/unix_efile.c, Line = 1081
The expression must be a pointer to a complete object type.

iov[cnt].iov_base -= p;
^
===============================

cc-3316 c99: ERROR File = drivers/common/efile_drv.c, Line = 1157
The expression must be a pointer to a complete object type.

ev->iov[1 + c->cnt].iov_base + c->size,
^

cc-3316 c99: ERROR File = drivers/common/efile_drv.c, Line = 1433
The expression must be a pointer to a complete object type.

iov[iovcnt].iov_base + p,

cc-3316 c99: ERROR File = drivers/common/efile_drv.c, Line = 2965
The expression must be a pointer to a complete object type.

put_int32(n, res_ev->iov[0].iov_base+4);


Patrick Baggett


Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum