Xref: news2.mv.net comp.os.msdos.djgpp:7227 From: Malcolm Douglas Newsgroups: comp.os.msdos.djgpp Subject: Re: Parse Errors! Argh! help me please Date: Tue, 13 Aug 1996 21:35:06 -0400 Organization: B e r k s h i r e N e t Lines: 21 Message-ID: <32112D4A.6FD5@berkshire.net> References: <320D5109 DOT 7730 AT freenet DOT tlh DOT fl DOT us> <320FF7D2 DOT 3F0 AT cs DOT com> NNTP-Posting-Host: ppp08.berkshire.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John M. Aldrich wrote: > > White wrote: > > > > I keep getting these code parsing errors when i try to compile a old > > game i wrote for MS visual C 1.0. I think it has something to do with > > the comment lines, but i cant seem to fix it. > > I use comments like this ----> //comments here > > I think it supports only this king----> /*comments here*/ > > > > can i make it support the first one in a C program?? I really need help. > > Thank you, > > MS Visual C allows C++ style comments in C code, whereas DJGPP does not. > There is a utility available to convert the comments to C-style, but I > don't remember the location off-hand. Barring that, you can either change > the comment style yourself or compile your program as a C++ program. > DJGPP v2 does support // comments, but v1 does not. I generally don't use them, however.