Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!umd5!brl-adm!adm!lamonts@Sds.Sdsc.EDU From: lamonts@Sds.Sdsc.EDU (Steve Lamont) Newsgroups: comp.lang.c Subject: RE: VMS and exit(); Message-ID: <11537@brl-adm.ARPA> Date: 29 Jan 88 05:39:08 GMT Sender: news@brl-adm.ARPA Lines: 40 "M. Warner Losh" quotes me as follows: > In article <11439@brl-adm.ARPA>, lamonts@Sds.Sdsc.EDU (Steve Lamont) writes: > < > < > <$ type foo.c > < exit( 0 ); > < %NONAME-W-NOMSG, Message number 00000000 > < > [my miscellaneous ranting deleted to preserve bandwidth and to protect the > guilty (me...;-) ] > > you must have version 2.2 of the VMS compiler (I have the same one), > because I posted the same results a few days ago. People tell me that > C version 2.3 corrects this problem (it really breaks a lot of code, > but that is beside the point). > > Does anybody WHO HAS 2.3 KNOW FOR SURE? Sorry... I forgot to say that I _did_ compile under VMS C 2.3... in fact I just double checked it. Interestingly enough, if you leave off the exit(0); and just drop out the bottom, you don't get a message. I don't know if that was the case under 2.2 or not, since I don't have access to the old version of the compiler. Maybe that was what your informant was referring to. spl ---------------------------------------- Internet: LAMONTS@SDS.SDSC.EDU Bitnet: LAMONTS@SDSC Span: SDSC::LAMONTS (27.1) USPS: Steve Lamont San Diego Supercomputer Center P.O. Box 85608 San Diego, CA 92138 AT&T: 619.534.5126