Mail Archives: djgpp/1996/08/13/17:51:50
Hi Chris:
>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.
Check if you don't have a line like this:
.......... c code ....... // a comment \
I tryied to put a back-slash at the end of the line (the e-mail system can
remove it).
If you finish a C++ comment-style line with a back slash this line is
concatenated with the next line and then the next line is commented too, so you
can get parse errors.
Some time ago I reported this strange behavior to GNU but I don't got any
answer to my report.
Is that ANSI?
bye SET
********************************************************************************
Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar
Work: INTI (National Institute of Industrial Technology) Sector: ICE
(Electronic Control & Instrumentation)
Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina
- Raw text -