Mail Archives: djgpp/1996/08/14/00:45:18
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.
- Raw text -