Date: Thu, 11 Jul 2002 11:06:09 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/elf2aout Makefile Message-ID: <200207111806.g6BI6ACL076400@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207111806.g6BI6ACL076400>
