Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watdcsu.UUCP Path: utzoo!watmath!watdcsu!geo From: geo@watdcsu.UUCP (Geo Swan) Newsgroups: net.sources,net.unix,net.lang.c,net.unix-wizards Subject: Re: Standardized predefined CPP symbols, down with folklore Message-ID: <297@watdcsu.UUCP> Date: Fri, 6-Jul-84 17:29:32 EDT Article-I.D.: watdcsu.297 Posted: Fri Jul 6 17:29:32 1984 Date-Received: Sat, 7-Jul-84 01:48:54 EDT References: <2065@rlgvax.UUCP>, <142@pyuxt.UUCP>, <8241@watmath.UUCP> Organization: U of Waterloo, Ontario Lines: 12 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.) When I posted a local gripe, a number of people kindly explained this convention to me (In fact, prior to posting my gripe, I figured the convention out through trial and error.) This is folklore. None of my informants knew if and where this feature was documented. Undocumented features like this are booby-traps.