From owner-freebsd-current@FreeBSD.ORG Fri Jun 29 00:36:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6541416A46E for ; Fri, 29 Jun 2007 00:36:57 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 09D5613C480 for ; Fri, 29 Jun 2007 00:36:56 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so8921wxd for ; Thu, 28 Jun 2007 17:36:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=MKXGm/yFS5X7XUjzRzpAJ2XUCcjhQfWrprM0ugB/GdpQEaTg23lsQkr/8kIx6sS+n7Dk3lnVOGJbjg3mZq9XDdy9oA6Bjsl4i+h9DmShGlNfoAPgAsaeTMTO7VxLnhqX06kxV1/pErQklWAXGNyccxhH2N3vbsWm8cQ8/+SBx4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=A9gPeSkzEw5UfoeTrNuKFDoL7m1MM5dHuh8sb6T6oI8NBotUQv7TdyelxLoLoD3o7hEgOne0y7zQ9Vmqdwl7NZ2g/Cp/BaVSwCJFjzkyXXG2FVFn3YQOGDcak7tRHk30le/fytYADU/GlKtB5hRYcAx9HvQx8knvXGL0vSMxZYY= Received: by 10.70.59.9 with SMTP id h9mr3786249wxa.1183077416499; Thu, 28 Jun 2007 17:36:56 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id 11sm11809279wrl.2007.06.28.17.36.55 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2007 17:36:55 -0700 (PDT) Date: Thu, 28 Jun 2007 20:36:54 -0400 From: Alexander Kabaev To: Eygene Ryabinkin Message-ID: <20070628203654.17be03e8@kan.dnsalias.net> In-Reply-To: <20070628113104.GF11335@void.codelabs.ru> References: <20070628113104.GF11335@void.codelabs.ru> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_YYzoyszmZSOum69yW_iVOHE; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: Re: cam_periph.c compilation errors on the -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 00:36:57 -0000 --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 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--