Xref: news2.mv.net comp.os.msdos.djgpp:7148 From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Parse Errors! Argh! help me please Date: Mon, 12 Aug 1996 20:34:42 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 27 Message-ID: <320FF7D2.3F0@cs.com> References: <320D5109 DOT 7730 AT freenet DOT tlh DOT fl DOT us> NNTP-Posting-Host: ppp219.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: White DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. -- John M. Aldrich, aka Fighteer I -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W+>++ N++ o+ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------