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.sources,net.unix,net.lang.c,net.unix-wizards Subject: Re: QUERY: Coding convention Message-ID: <4037@utzoo.UUCP> Date: Fri, 6-Jul-84 17:32:06 EDT Article-I.D.: utzoo.4037 Posted: Fri Jul 6 17:32:06 1984 Date-Received: Fri, 6-Jul-84 17:32:06 EDT References: <2065@rlgvax.UUCP>, <142@pyuxt.UUCP> Organization: U of Toronto Zoology Lines: 19 I can think of one other thing that would be useful to have around, so that #ifdefs could test it. As we all know, there is an ANSI C standard in our future somewhere. The standard specifies some bits of very useful syntax that most existing compilers barf on at the moment. It would be real nice to have a predefined symbol along the lines of "pre_ansi" so that one could write code like: #ifndef pre_ansi ... do it right ... #else ... kludge needed for old compiler ... #endif This would permit gradual transition to the new standard. (I suggest "pre_ansi" rather than "ansi" on the theory that the standard should be the default from the beginning.) -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry