\ problems with 3.2.2

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
KaylaKaze
Posts: 75
Joined: Wed May 05, 2004 3:25 pm
Location: NC, USA
Contact:

\ problems with 3.2.2

Post 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?
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post 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.
Kung VU
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post 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.
Shoot Pixels Not People!
Makeshift Development
not6
Posts: 11
Joined: Sat Feb 07, 2004 1:44 am

Post by not6 »

if it's the case , a simple dos2unix on the file must do the job !
Post Reply