Path: utzoo!attcan!uunet!husc6!cca!g-rh From: g-rh@cca.CCA.COM (Richard Harter) Newsgroups: comp.lang.c Subject: Re: static functions broken in non-Unix compilers? Message-ID: <28437@cca.CCA.COM> Date: 21 May 88 08:42:10 GMT References: <120@pigs.UUCP> <126@pigs.UUCP> Reply-To: g-rh@CCA.CCA.COM.UUCP (Richard Harter) Organization: Computer Corp. of America, Cambridge, MA Lines: 22 In article <126@pigs.UUCP> haugj@pigs.UUCP (John F. Haugh II) writes: >In article <120@pigs.UUCP>, I write: >] I have been informed that there is some trouble declaring functions to >] be static in most of the non-Unix compilers. I haven't seen this but >] my informant swears the 9370 VM and VAX/VMS and MS-DOS C compilers all >] gag on static func(). >] >] Comments? Send mail, if I get enough replies I'll summarize to the net. Mail didn't get through. Earlier versions of Primos C did not accept static functions (Primos C is a little eccentric anyway.) I don't know about current version because we stripped out all static functions (portable is what actually works, not what the standards, if any, say should work.) No problem that I know of in earlier VMS-VAX C. -- In the fields of Hell where the grass grows high Are the graves of dreams allowed to die. Richard Harter, SMDS Inc.