From owner-freebsd-current Tue Feb 26 1:25:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 6BFDB37B430 for ; Tue, 26 Feb 2002 01:25:34 -0800 (PST) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.11.6+Sun/8.9.3) with ESMTP id g1Q9PeB01425; Tue, 26 Feb 2002 01:25:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g1Q9Oj109663; Tue, 26 Feb 2002 10:24:45 +0100 Cc: peter@wemm.org, current@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII Date: Tue, 26 Feb 2002 10:24:09 +0100 From: Georg-W Koltermann In-Reply-To: <20020225.215923.28857552.imp@village.org> Message-ID: MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Organization: MSC Software Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-6.12.0.0) id 09637-4B1C1C36; Tue, 26 Feb 2002 10:24:10 +0100 Received: from hunter.muc.macsch.com (localhost.muc.macsch.com [127.0.0.1]) by hunter.muc.macsch.com (8.11.6/8.11.6) with ESMTP id g1Q9O9d00800; Tue, 26 Feb 2002 10:24:11 +0100 (CET) (envelope-from Georg.Koltermann@mscsoftware.com) References: <20020226014624.8D6A03BAC@overcee.wemm.org> <20020225.215923.28857552.imp@village.org> Subject: Re: HEADS UP: cvs commit: src/sys/conf kern.pre.mk (fwd) To: "M. Warner Losh" User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) X-AntiVirus: OK! AvMailGate Version 6.12.1.21 at mailmuc has not found any known virus in this email. X-Attribution: gwk Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Warner, a simple cast char *baz = (char*)foo; works for me. -- Regards, Georg. At Mon, 25 Feb 2002 21:59:23 -0700 (MST), M. Warner Losh wrote: > > In message: <20020226014624.8D6A03BAC@overcee.wemm.org> > Peter Wemm writes: > : There are a couple of offending files in the kernel still, and some > : drivers. The things people are most likely to run into are: usb, inet6, > : and some drivers (twe, asr etc). > > I've fixed a few of the low hanging fruit, but I don't know how to get > rid of warnings like: > > const char *foo = "blah"; > char *baz = foo; > > when I know they are safe. > > Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message