Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!topaz!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang.c Subject: Re: builtins and automatic defines Message-ID: <816@bentley.UUCP> Date: Tue, 13-May-86 22:01:24 EDT Article-I.D.: bentley.816 Posted: Tue May 13 22:01:24 1986 Date-Received: Thu, 15-May-86 05:45:08 EDT References: <1232@utcs.uucp> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 24 In article <1232@utcs.uucp> utcs!flaps (Alan J Rosenthal) writes: >Well I sure hope no one sticks in such a thing without telling me! >Any such #include or #define things should not only be optional, they >should have to be explicit. So perhaps instead of merely beginning every >program with #include , you can also have #include . > >*I* won't #include it, though... They should be semantically identical, so what do you care whether it's optimized by default? I wonder if perhaps (and ) should be included by default, with an explicit "#exclude" to disable. (Cf. "#undef".) Probably tricky to implement -- don't do the automatic "#include" until checking for "#exclude", which must be at the top of the file (after whitespace)? I had much the same attitude when I learned of the (then) new features that allowed structure copy/call-by-value/return-by-value. I wasn't using them (of course, since they were new), and I wanted to see an error if I used one by mistake (forgotten "&"). I was hoping for a compatibility option of some type, like EO in TECO-10. (A nice feature that allowed TECO to simulate an older version of itself, so as not to obsolete all old macros.) Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint