Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!dave From: dave@utcsrgv.UUCP (Dave Sherman) Newsgroups: net.unix,net.lang.c,net.unix-wizards Subject: Re: Standardized predefined CPP symbols, down with folklore Message-ID: <4842@utcsrgv.UUCP> Date: Mon, 9-Jul-84 02:52:23 EDT Article-I.D.: utcsrgv.4842 Posted: Mon Jul 9 02:52:23 1984 Date-Received: Mon, 9-Jul-84 03:32:59 EDT References: <2065@rlgvax.UUCP> <142@pyuxt.UUCP> <8241@watmath.UUCP> <297@watdcsu.UUCP> Reply-To: dave@utcsrgv.UUCP (& Sherman) Organization: The Law Society of Upper Canada, Toronto Lines: 18 In article <297@watdcsu.UUCP> geo@watdcsu.UUCP (Geo Swan) writes: ~|\I agree with the need for standards. ~|\Further, these standards should be properly documented. ~|\I learned that cpp automatically sharp defined "unix", ~|\when I tried to declare a variable named "unix". (Try it sometime.) Actually, it wouldn't matter if the implementors had had the sense to have cpp implcitly "#define unix unix", instead of "#define unix 1". The first would still permit all "#ifdef unix" work, while the actual implementation caused me grief one day when I tried to create a function called unix() Dave Sherman Toronto -- {allegra,cornell,decvax,ihnp4,linus,utzoo}!utcsrgv!dave or David_Sherman%Wayne-MTS%UMich-MTS.Mailnet@MIT-Multics.ARPA