More void* arith errors

Patrick Baggett baggett.patrick@REDACTED
Fri Oct 29 22:47:03 CEST 2010


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


More information about the erlang-bugs mailing list