Subject: kern/7258: ip_mroute.c compile warning on the alpha
To: None <gnats-bugs@gnats.netbsd.org, bernd@arresum.inka.de>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 03/27/1999 17:04:54
>Number: 7258
>Category: kern
>Synopsis: ip_mroute.c compile warning on the alpha
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 27 08:20:01 1999
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 27-03-1999
>Environment:
NetBSD 1.3I alpha
>Description:
A kernel with MROUTING doesn't compile.
>How-To-Repeat:
Compile an alpha kernel with MROUTING and notice the warning (error):
cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -mno-fp-regs -I. -I/src/sys/arch -I/src/sys -nostdinc -DDIAGNOSTIC -DDEBUG -DLKM -DNKMEMCLUSTERS="0x1000" -DNMBCLUSTERS="0x800" -DMAXUSERS=64 -D_KERNEL -Dalpha -c /src/sys/netinet/ip_mroute.c
cc1: warnings being treated as errors
/src/sys/netinet/ip_mroute.c: In function `tbf_send_packet':
/src/sys/netinet/ip_mroute.c:1698: warning: int format, different type arg (arg 3)
*** Error code 1
>Fix:
>Audit-Trail:
>Unformatted: