GENERIC bórken...
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstric t-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fforma t-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/us r/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 - ffreestanding -Werror /usr/src/sys/dev/amr/amr.c cc1: warnings being treated as errors /usr/src/sys/dev/amr/amr.c: In function `amr_setup_ccbmap': /usr/src/sys/dev/amr/amr.c:1055: warning: initialization from incompatible point er type *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: GENERIC bórken...
On Thu, Oct 31, 2002 at 01:21:38PM +0100, Poul-Henning Kamp wrote: ffreestanding -Werror /usr/src/sys/dev/amr/amr.c cc1: warnings being treated as errors /usr/src/sys/dev/amr/amr.c: In function `amr_setup_ccbmap': /usr/src/sys/dev/amr/amr.c:1055: warning: initialization from incompatible point er type *** Error code 1 It's a good practice to compile things before checking them in. --- amr.c.orig Thu Oct 31 18:19:32 2002 +++ amr.c Thu Oct 31 18:19:59 2002 @@ -1052,7 +1052,7 @@ struct amr_softc*sc = ac-ac_sc; struct amr_sgentry *sg; struct amr_passthrough *ap = (struct amr_passthrough *)ac-ac_data; -struct amr_ext_passthrough *aep = (struct amr_passthrough *)ac-ac_data; +struct amr_ext_passthrough *aep = (struct amr_ext_passthrough *)ac-ac_data; int i; /* get base address of s/g table */ -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message