Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!gem.mps.ohio-state.edu!unix.cis.pitt.edu!obie.cis.pitt.edu!cmf From: cmf@obie.cis.pitt.edu (Carl M. Fongheiser) Newsgroups: comp.lang.c Subject: Re: (* func)(fred, bert) Message-ID: <20931@unix.cis.pitt.edu> Date: 29 Nov 89 23:14:40 GMT References: <2387@stl.stc.co.uk> <744@lakart.UUCP> <0175@sheol.UUCP> <812@bbm.UUCP> <89318.115828CMH117@PSUVM.BITNET> <1541@bnlux0.bnl.gov> <1989Nov21.015949.18974@sq.sq.com> <2085@tukki.jyu.fi> Sender: news@unix.cis.pitt.edu Reply-To: cmf@obie.cis.pitt.edu (Carl M. Fongheiser) Organization: University of Pittsburgh, Computing and Information Services Lines: 22 In article <2085@tukki.jyu.fi> tarvaine@tukki.jyu.fi (Tapani Tarvainen) writes: >>Can main() return 0 (which is certainly not an odd number) safely? > >Safely, yes -- but it'll give an error message > >%NONAME-W-NOMSG, Message number 00000000 > >which may not be dangerous but it sure is annoying. On the version of VMS we run (5.1), it doesn't print any message. As Doug Gwyn said, they did fix it. I can't say for certain that it was fixed in 5.0, but it definitely wasn't in 4.7. Note that this has *nothing* to do with the version of C you have on your machine. The C run-time is part of VMS. >Isn't VMS wonderful with C? :-( It's getting better. Carl Fongheiser cmf@unix.cis.pitt.edu