From owner-cvs-all Thu Jul 11 11: 6:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3203E37B400; Thu, 11 Jul 2002 11:06:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA5BB43E65; Thu, 11 Jul 2002 11:06:10 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from freefall.freebsd.org (bde@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6BI6AJU076406; Thu, 11 Jul 2002 11:06:10 -0700 (PDT) (envelope-from bde@freefall.freebsd.org) Received: (from bde@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6BI6ACL076400; Thu, 11 Jul 2002 11:06:10 -0700 (PDT) Message-Id: <200207111806.g6BI6ACL076400@freefall.freebsd.org> From: Bruce Evans Date: Thu, 11 Jul 2002 11:06:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/elf2aout Makefile X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bde 2002/07/11 11:06:09 PDT Modified files: usr.sbin/elf2aout Makefile Log: Set NO_WERROR to ignore the following warning which is emitted on alphas: .../elf2aout.c:130: warning: cast increases required alignment of target type The warning is about casting ((char *)e + phoff) to a struct pointer, where e is aligned but phoff might be garbage, so I think the warning should be emitted on most machines (even on i386's, alignment checking might be on) and the correct fix would involve validation phoff before using it. Revision Changes Path 1.3 +1 -0 src/usr.sbin/elf2aout/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message