Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: ANSI C suggestions Message-ID: <4478@utzoo.UUCP> Date: Tue, 16-Oct-84 15:39:38 EDT Article-I.D.: utzoo.4478 Posted: Tue Oct 16 15:39:38 1984 Date-Received: Tue, 16-Oct-84 15:39:38 EDT References: <228@boulder.UUCP>, <195@rlgvax.UUCP> Organization: U of Toronto Zoology Lines: 10 > ... I suspect it [const] works as you suggest - i.e., an implementation > can ignore it if it chooses. Not quite. There are things that you cannot do to a variable of const type -- e.g., use it on the left-hand-side of an assignment operator -- and these must be diagnosed even if const things are not special in any other way. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry