From owner-cvs-all Tue Jan 2 14:18:57 2001 From owner-cvs-all@FreeBSD.ORG Tue Jan 2 14:18:53 2001 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 1089F37B404; Tue, 2 Jan 2001 14:18:53 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 14DRX7-000C4Y-00; Tue, 02 Jan 2001 13:31:21 +0000 Date: Tue, 2 Jan 2001 13:31:20 +0000 From: Tony Finch To: Matthew Jacob Cc: =?iso-8859-1?Q?G=E9rard_Roudier?= , Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/isp isp.c Message-ID: <20010102133120.M47732@hand.dotat.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Organization: Covalent Technologies, Inc Sender: fanf@dotat.at Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > >The whole approach ANSI seems to have taking is moronic since it's very clear >to me that either you should have clear object attributes, or you should have >the most permissive interpretation of default attributes. If you want to make >an object have some other than default attribute, be specific- don't be >ambiguous. It is actually clear in this case: literal strings are arrays of const chars and therefore should not be modified. The ambiguity you are complaining about is there so that implementers can either enforce this or not, depending on hardware and/or OS support. >Would it still be an error if the declaration had been static instead of >(implicit auto)? Yes. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at "There are flying saucers. There's no doubt they are in our skies. They've been there for some time." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message