From owner-freebsd-current@FreeBSD.ORG Fri Jun 29 18:43:49 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 CAA2816A421 for ; Fri, 29 Jun 2007 18:43:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6AE13C448 for ; Fri, 29 Jun 2007 18:43:49 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=lnldE3k3B+chY5aH+4G+8/h40PKp/LyVvqrODD+Se4x4nvfZg4Jp0yq15otEzgxg2dMrFbZ4wp2zSmRCq8zUL5iSnfgr/Qw7qFohu3YUUtQPP/8pq0qfXxbi7UeDFPDf6RM7Wd35Ul8V71ewO/K6oZhvZvVvOYtLEt8JPFxl5ws=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1I4LRa-0004sb-QD; Fri, 29 Jun 2007 22:43:47 +0400 Date: Fri, 29 Jun 2007 22:43:41 +0400 From: Eygene Ryabinkin To: Alexander Kabaev Message-ID: <20070629184341.GA32919@void.codelabs.ru> References: <20070628113104.GF11335@void.codelabs.ru> <20070628203654.17be03e8@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070628203654.17be03e8@kan.dnsalias.net> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.7 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 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 18:43:49 -0000 Alexander, good day. Thu, Jun 28, 2007 at 08:36:54PM -0400, Alexander Kabaev wrote: > > 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=pentium3 -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > > -fformat-extensions -std=c99 -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=8000 --param > > inline-unit-growth=100 --param large-function-growth=1000 > > -mno-align-long-strings -mpreferred-stack-boundary=2 -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. Ah, thank you: I checked out -STABLE instead of -CURRENT. It is very weird, but still: you're right, the sources were wrong. Sorry for the noise. ----- -- Eygene