Date: Thu, 28 Jun 2007 20:36:54 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Cc: freebsd-current@freebsd.org Subject: Re: cam_periph.c compilation errors on the -CURRENT Message-ID: <20070628203654.17be03e8@kan.dnsalias.net> In-Reply-To: <20070628113104.GF11335@void.codelabs.ru> References: <20070628113104.GF11335@void.codelabs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_YYzoyszmZSOum69yW_iVOHE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 28 Jun 2007 15:31:04 +0400 Eygene Ryabinkin <rea-fbsd@codelabs.ru> wrote: > Good day. >=20 > Today's CURRENT, i386 arch. Got signedness warnings that were > transferred to errors because of compilation flags: > ----- > cc -c -O2 -pipe -fno-strict-aliasing -march=3Dpentium3 -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=3Dc99 -nostdinc -I- -I. -I../../.. > -I../../../contrib/altq -I../../../contrib/ipfilter > -I../../../contrib/pf -I../../../dev/ath -I../../../contrib/ngatm > -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -ffreestanding > -Werror ../../../cam/cam_periph.c cc1: note: obsolete option -I- > used, please use -iquote instead cc1: warnings being treated as > errors ../../../cam/cam_periph.c: In function > 'cam_periph_mapmem': ../../../cam/cam_periph.c:651: warning: pointer > targets in assignment differ in > signedness ../../../cam/cam_periph.c:679: warning: pointer targets in > assignment differ in signedness *** Error code 1 ----- Not very > familiar with the cam subsystem, so can not judge what will be the > right way to fix this. -- Eygene You are using wrong compiler on wrong sources. Do not do that, it rightfully hurts. --=20 Alexander Kabaev --Sig_YYzoyszmZSOum69yW_iVOHE Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGhFQmQ6z1jMm+XZYRAmunAKDbw4rhkSbaYHlFd0masUR8ar7J8QCgiirY oulSwPNfNq5OtzVGL49p9EQ= =pBd4 -----END PGP SIGNATURE----- --Sig_YYzoyszmZSOum69yW_iVOHE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070628203654.17be03e8>