Date: Thu, 14 Nov 2002 08:11:11 +0100 From: Eirik Nygaard <eirikn@bluezone.no> To: current@FreeBSD.ORG Subject: Re: libdisk/rules.c broken Message-ID: <20021114071111.GE9291@eirikn.net> In-Reply-To: <20021113213522.GC9291@eirikn.net> References: <20021113213522.GC9291@eirikn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--MAH+hnPXVZWQ5cD/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sorry, forgot to give som version info, I am running -CURRENT as of 13 Nov. Uname: FreeBSD odin.eirikn.net 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Sun Nov = 10 13:08:46 CET 2002 eirik@odin.eirikn.net:/usr/obj/usr/src/sys/ITvisio= n i386 On Wed, Nov 13, 2002 at 10:35:22PM +0100, Eirik Nygaard wrote: > lib/libdisk/rules.c is broken in Check_Chunk(). > cc -mcpu=3Dpentiumpro -Werror -Wall -Wno-format-y2k -Wno-uninitialized = -c rules.c -o rules.o > cc1: warnings being treated as errors > rules.c: In function `Check_Chunk': > rules.c:254: warning: enumeration value `p_any' not handled in switch > rules.c:254: warning: enumeration value `p_alpha' not handled in switch > rules.c:254: warning: enumeration value `p_sparc64' not handled in switch > rules.c:254: warning: enumeration value `p_ia64' not handled in switch > rules.c:254: warning: enumeration value `p_ppc' not handled in switch > *** Error code 1 >=20 > A patch is attached. >=20 > --=20 >=20 > Eirik Nygaard <eirikn@bluezone.no> > PGP Key: 83C55EDE >=20 > Index: rules.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/lib/libdisk/rules.c,v > retrieving revision 1.27 > diff -u -r1.27 rules.c > --- rules.c 31 Oct 2002 05:51:25 -0000 1.27 > +++ rules.c 13 Nov 2002 21:25:16 -0000 > @@ -251,6 +251,12 @@ > if (c->next) > Check_Chunk(d, c->next, msg); > break; > + case p_alpha: > + case p_sparc64: > + case p_ia64: > + case p_ppc: > + case p_any: > + break; > } > } > =20 --=20 Eirik Nygaard <eirikn@bluezone.no> PGP Key: 83C55EDE --MAH+hnPXVZWQ5cD/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE900yP1JB0Z4PFXt4RAu6hAJ45H7pia7GCHkvpHveEsI5VjvffqwCfdJxL Tz5xNdsknbz4/MTL5sZQOz8= =qRZ/ -----END PGP SIGNATURE----- --MAH+hnPXVZWQ5cD/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021114071111.GE9291>