www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/12/23:15:22

Xref: news2.mv.net comp.os.msdos.djgpp:7148
From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: White <whitesr AT freenet DOT tlh DOT fl DOT us>
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 <fighteer AT cs DOT com>

-----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------


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019