Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site decwrl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decwrl!dec-rhea!dec-tron!seaton From: seaton@tron.DEC (Ian Seaton, Dedicated Mail, REO2-F/D3, DTN 830 3593) Newsgroups: net.sources.bugs Subject: Re: Re: Making voids work portably (was re: efopen.c) Message-ID: <1094@decwrl.UUCP> Date: Mon, 28-Oct-85 06:18:43 EST Article-I.D.: decwrl.1094 Posted: Mon Oct 28 06:18:43 1985 Date-Received: Wed, 30-Oct-85 05:47:27 EST Sender: daemon@decwrl.UUCP Organization: Digital Equipment Corporation Lines: 41 ---------------------Reply to mail dated 22-OCT-1985 03:15--------------------- In his reply to the answer to the reply to the problem of VOID Valdis Kletnieks said: > Well, Daniel Levy SAID that he was running it under VAX/VMS C. This (at > least as far as I can see) sort of implies that he is running VAX/VMS. > The problem with adding COPTS='-Dvoid=int' to the Makefile is that "make" > is NOT a VAX/VMS command. If we are going to talk about portability, let's > at least make sure that we have portable utilities as well. Adding to a > control file for a non-existent utility will NOT make it all better, no matter > what the Unixoid life forms out there are trying to convince us... I hate to disagree but, not only does VAX/VMS C V2 support (void) but DEC also has a little program call MMS (Module Management System) which is a 'make' for VMS systems, it does all that 'make' does and a little more so COPTS="/DEFINE=(void=int)" would work IF IT WAS NEEDED!. Now...MY pet hate is all these so called compilers that don't seem to understand the concept of scoping. Time and again I have found programs on the net falling down because of bad scoping, a thing which VAX/VMS C is good at! Remember, those curly little brackets mean the end of the scope of any variables declared within them (unless declared otherwise!). Roll on ANSI Standards... Share and Enjoy... Ian Seaton DEC Reading, England UUCP: !dec-thrint! decwrl!dec-rhea!dec-tron !seaton !dec-blott ! ARPA: seaton%tron.DEC@DECWRL.ARPA Note: These machines with dec- infront of them, they're all VAXen running VMS you know! Call me a UNIXoid at your own peril!.