From owner-cvs-src-old@FreeBSD.ORG Tue Feb 9 17:16:25 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 525E01065791 for ; Tue, 9 Feb 2010 17:16:25 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 416598FC14 for ; Tue, 9 Feb 2010 17:16:25 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o19HGPtG047542 for ; Tue, 9 Feb 2010 17:16:25 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o19HGPp5047541 for cvs-src-old@freebsd.org; Tue, 9 Feb 2010 17:16:25 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201002091716.o19HGPp5047541@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Tue, 9 Feb 2010 17:16:13 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/wake Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 17:16:25 -0000 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