On Tue, 25 Mar 2003, Poul-Henning Kamp wrote:

> /bang/src/lib/libatm/ip_checksum.c: In function `ip_checksum':
> /bang/src/lib/libatm/ip_checksum.c:80: warning: cast increases required alignmen


I see in cvs that many of the files in this library have been updated in
the last 11 or 12 hours...  I get build problems still in that library at
a different spot:

--------------------------------------------------------------------------
liron# pwd
/usr/src/lib/libatm
liron# make
cc -O -pipe -mcpu=ev4 -mtune=ev5 -Werror -Wall -Wno-format-y2k -W
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized
-c /usr/src/lib/libatm/ioctl_subr.c -o ioctl_subr.o
cc1: warnings being treated as errors
/usr/src/lib/libatm/ioctl_subr.c: In function `get_vcc_info':
/usr/src/lib/libatm/ioctl_subr.c:175: warning: cast increases required
alignment of target type
/usr/src/lib/libatm/ioctl_subr.c: In function `get_subnet_mask':
/usr/src/lib/libatm/ioctl_subr.c:229: warning: cast increases required
alignment of target type
/usr/src/lib/libatm/ioctl_subr.c: In function `get_cfg_info':
/usr/src/lib/libatm/ioctl_subr.c:395: warning: cast increases required
alignment of target type
/usr/src/lib/libatm/ioctl_subr.c: In function `get_intf_info':
/usr/src/lib/libatm/ioctl_subr.c:433: warning: cast increases required
alignment of target type
*** Error code 1

Stop in /usr/src/lib/libatm.


--------------------------------------------------------------------------

This file aparently hasn't been modified in 5 months.

11 Hours ago, Makefile for this lib was modified to have

WARNS?= 5

added which seems to have revealed the problem.  For those who just want
to get a complete buildworld, remvoing this is all that is needed (well,
for this problem -- my buildworld is running right now...)

As for the real problem I'm about to see what can be done about it.

Fred

--
Fred Clift - [EMAIL PROTECTED] -- Remember: If brute
force doesn't work, you're just not using enough.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to