Mail Archives: djgpp/1996/08/12/23:15:22
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 -