Page 1 of 1

\ problems with 3.2.2

Posted: Thu Jul 01, 2004 10:13 pm
by KaylaKaze
I'm using the precompiled ee-gcc 3.2.2 cygwin compiler and have been working with ps2ftpd. The problem I'm having though is the compiler doesn't recognize \ at the end of a line to mean "continued on next line". Any ideas how to fix this without having to change the code or use a different compiler?

Posted: Thu Jul 01, 2004 10:23 pm
by blackdroid
Are you talking about "warning: multi-line string literals are deprecated" ?
if so, then no there is nothing that will be changed in the compiler to allow this.
its a change that has been made in gcc ( from what I remember since 3.0 ).
And thats a fact we have to live with.

Posted: Thu Jul 01, 2004 10:34 pm
by Drakonite
It's also possible the source files are dos formatted and the compiler is expecting unix formatted files, I've had this happen a few times to me.

If you don't know, the difference is that dos text files use CR LF for end of lines while unix text files only use LF.

Posted: Fri Jul 02, 2004 8:40 pm
by not6
if it's the case , a simple dos2unix on the file must do the job !