Anyone want to suggest a fix for this? In file included from /usr/include/netinet/in.h:212, from /usr/include/netdb.h:28, from netunix.c:18: /usr/include/bits/socket.h: In function `__cmsg_nxthdr': /usr/include/bits/socket.h:268: warning: cast increases required alignment of target type
260 _EXTERN_INLINE struct cmsghdr * 261 __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW 262 { 263 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) 264 /* The kernel header does this so there may be a reason. */ 265 return 0; 266 267 __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg 268 + CMSG_ALIGN (__cmsg->cmsg_len)); 269 if ((unsigned char *) (__cmsg + 1) >= ((unsigned char *) __mhdr->msg_control 270 + __mhdr->msg_controllen) 271 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) 272 > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) 273 /* No more entries. */ 274 return 0; 275 return __cmsg; 276 } 277 #endif /* Use `extern inline'. */ I'd submit a bug report, but my enthusiasm this afternoon has vanished without a fix. Peter -- ------------------------------------------------------------------------ Peter Naulls - [EMAIL PROTECTED] RISC OS Projects Initiative - http://www.chocky.org/initiative/ Java for RISC OS and ARM - http://www.chocky.org/java/ Debian Linux on RiscPCs - http://www.chocky.org/debian/ ------------------------------------------------------------------------