Date: Sat, 21 Oct 2000 22:12:23 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <2561-Sat21Oct2000221222+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.5h In-reply-to: <39f1f1fd.44260315@news.freeserve.net> (dontmailme@iname.com) Subject: Re: Help! References: <002001c03ac9$ebe70fc0$0500a8c0 AT brk> <39f0b88a DOT 48929103 AT news DOT freeserve DOT net> <834s27rxf2 DOT fsf AT mercury DOT st DOT hmc DOT edu> <39f1f1fd DOT 44260315 AT news DOT freeserve DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: dontmailme AT iname DOT com (Steamer) > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 21 Oct 2000 19:44:28 GMT > > > > int is_cplusplus(void) > > { > > int x; > > x = 2-2//**/1; > > +1; > > return x; > > } > > But this assumes that // comments are not recognized in C, whereas > the new C standard says they should be. That's why I think Nate said you need -ansi: the C9x standard is not yet supported by -ansi.