Date: Tue, 9 Feb 2010 17:16:13 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/wake Makefile Message-ID: <201002091716.o19HGPp5047541@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2010-02-09 17:16:13 UTC FreeBSD src repository Modified files: usr.sbin/wake Makefile Log: SVN rev 203707 on 2010-02-09 17:16:13Z by imp Anything that casts struct sockaddr * to struct sockaddr_foo is safe due to careful design. We've not yet figured out how to properly annotate the sockaddr structs to communicate this to the compiler and there's a number of constructs in the tree that make this annotation challenging. As such, reduce warns to 3 here because this code really isn't warns 6 safe, even if it kinda sorta appears to be on intel (which has no such alignment restrictions). Warns 4 adds the -Wcast-align warning. # fixes the mips tinderbox build Revision Changes Path 1.5 +2 -0 src/usr.sbin/wake/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002091716.o19HGPp5047541>